Class humhub\modules\user\controllers\ProfileController

Inheritancehumhub\modules\user\controllers\ProfileController » humhub\modules\content\components\ContentContainerController » humhub\components\Controller » yii\web\Controller
Available since version0.5

ProfileController is responsible for all user profiles.

Also the following functions are implemented here.

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$access string Defines the ControllerAccess class for this controller responsible for managing access rules humhub\components\Controller

Public Methods

Hide inherited methods

MethodDescriptionDefined By
actionAbout() humhub\modules\user\controllers\ProfileController
actionFollow() humhub\modules\user\controllers\ProfileController
actionFollowedUsersList() humhub\modules\user\controllers\ProfileController
actionFollowerList() humhub\modules\user\controllers\ProfileController
actionHome() humhub\modules\user\controllers\ProfileController
actionIndex() User profile home humhub\modules\user\controllers\ProfileController
actionSpaceMembershipList() humhub\modules\user\controllers\ProfileController
actionUnfollow() humhub\modules\user\controllers\ProfileController
actions() humhub\modules\user\controllers\ProfileController
appendPageTitle() Append a page title. humhub\components\Controller
beforeAction() humhub\modules\content\components\ContentContainerController
behaviors() humhub\modules\user\controllers\ProfileController
forcePostRequest() Throws HttpException in case the request is not an post request, otherwise returns true. humhub\components\Controller
getAccess() humhub\modules\content\components\ContentContainerController
htmlRedirect() Create Redirect for AJAX Requests which output goes into HTML content. humhub\components\Controller
init() humhub\modules\content\components\ContentContainerController
prependPageTitle() Prepend a page title. humhub\components\Controller
redirect() humhub\components\Controller
renderAjaxContent() humhub\components\Controller
renderContent() Renders a static string by applying the layouts (sublayout + layout. humhub\components\Controller
renderModalClose() Closes a modal humhub\components\Controller
setActionTitles() Set a map that indicates what page title should be shown for the currently active action. humhub\components\Controller
setJsViewStatus() Sets some ui state as current controller/module and active topmenu. humhub\components\Controller
setPageTitle() Set the page title. humhub\components\Controller

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
checkModuleIsEnabled() Checks if the requested module is available in this contentContainer. humhub\modules\content\components\ContentContainerController
forbidden() humhub\components\Controller
getAccessRules() Returns access rules for the standard access control behavior. humhub\components\Controller

Events

Hide inherited events

EventTypeDescriptionDefined By
EVENT_INIT \yii\base\Event An event raised on init a controller. humhub\components\Controller

Method Details

actionAbout() public method

public void actionAbout ( )
actionFollow() public method

public void actionFollow ( )
actionFollowedUsersList() public method

public void actionFollowedUsersList ( )
actionFollowerList() public method

public void actionFollowerList ( )
actionHome() public method

public void actionHome ( )
actionIndex() public method

User profile home

public string actionIndex ( )
return string

The response

actionSpaceMembershipList() public method

public void actionSpaceMembershipList ( )
actionUnfollow() public method

public void actionUnfollow ( )
actions() public method

public void actions ( )
behaviors() public method

public void behaviors ( )