models/User.php
public function getIsStatus()
	{
		switch ($this->status) {
			case User::STATUS_PENDING:
				return '<div class="text-center"><span class="text-primary">Pending</span></div>';
			case User::STATUS_ACTIVE:
				return '<div class="text-center"><span class="text-success">Active</span></div>';
			case User::STATUS_BLOCKED:
				return '<div class="text-center"><span class="text-danger">Blocked</span></div>';
		}

		return NULL;
	}
public function getIsStatus()
	{
		switch ($this->status) {
			case User::STATUS_PENDING:
				return '<div class="text-center"><span class="text-primary">Pending</span></div>';
			case User::STATUS_ACTIVE:
				return '<div class="text-center"><span class="text-success">Active</span></div>';
			case User::STATUS_BLOCKED:
				return '<div class="text-center"><span class="text-danger">Blocked</span></div>';
		}

		return NULL;
	}
Returns user's status

@return null|string