Class humhub\modules\directory\controllers\DirectoryController

Inheritancehumhub\modules\directory\controllers\DirectoryController » humhub\modules\directory\components\Controller » humhub\components\Controller » yii\web\Controller
Available since version0.5

Community/Directory Controller

Shows all available users, group, spaces

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$access string Defines the ControllerAccess class for this controller responsible for managing access rules humhub\modules\directory\components\Controller
$actionTitlesMap array Page titles humhub\components\Controller
$pageTitle string Title of the rendered page humhub\components\Controller
$prependActionTitles boolean Append page title humhub\components\Controller
$subLayout null|string The name of the sub layout to be applied to this controller's views. humhub\modules\directory\components\Controller

Public Methods

Hide inherited methods

MethodDescriptionDefined By
actionGroups() Group Section of the directory humhub\modules\directory\controllers\DirectoryController
actionIndex() Index Action, redirects to member actions humhub\modules\directory\controllers\DirectoryController
actionMembers() Action for the members section of the directory humhub\modules\directory\controllers\DirectoryController
actionSpaces() Space Section of directory humhub\modules\directory\controllers\DirectoryController
actionUserPosts() User Posts humhub\modules\directory\controllers\DirectoryController
actions() humhub\modules\directory\controllers\DirectoryController
appendPageTitle() Append a page title. humhub\components\Controller
beforeAction() humhub\components\Controller
behaviors() humhub\components\Controller
checkModuleActive() Global access rule for the current user. humhub\modules\directory\components\Controller
forcePostRequest() Throws HttpException in case the request is not an post request, otherwise returns true. humhub\components\Controller
getAccess() humhub\components\Controller
getAccessRules() Returns access rules for the standard access control behavior. humhub\modules\directory\components\Controller
htmlRedirect() Create Redirect for AJAX Requests which output goes into HTML content. humhub\components\Controller
init() humhub\modules\directory\controllers\DirectoryController
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
forbidden() humhub\components\Controller


Hide inherited events

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

Method Details

actionGroups() public method

Group Section of the directory

Shows a list of all groups in the application.

public void actionGroups ( )
actionIndex() public method

Index Action, redirects to member actions

public void actionIndex ( )
actionMembers() public method

Action for the members section of the directory

public void actionMembers ( )
actionSpaces() public method

Space Section of directory

Provides a list of all visible spaces.

public void actionSpaces ( )
actionUserPosts() public method

User Posts

Shows public all user posts inside a wall.

public void actionUserPosts ( )
actions() public method

public void actions ( )
init() public method

public void init ( )