Class lispa\amos\community\controllers\SubcommunitiesController
Class SubcommunitiesController
Public Properties
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
baseListsAction() | Base operations in order to render different list views | lispa\amos\community\controllers\SubcommunitiesController |
findModel() | Finds the modelObj model based on its primary key value. | lispa\amos\core\controllers\CrudController |
genericFindModel() | lispa\amos\core\forms\editors\m2mWidget\controllers\M2MWidgetControllerTrait | |
getDefaultCurrentView() | lispa\amos\core\controllers\CrudController | |
getRedirectArray() | lispa\amos\core\forms\editors\m2mWidget\controllers\M2MWidgetControllerTrait | |
getRules() | lispa\amos\core\controllers\BaseController | |
redirectOnCreate() | lispa\amos\community\controllers\base\CommunityController | |
redirectOnUpdate() | lispa\amos\community\controllers\base\CommunityController | |
setListsBreadcrumbs() | Used to set page title and breadcrumbs. | lispa\amos\community\controllers\SubcommunitiesController |
setUserLanguage() | lispa\amos\core\controllers\AmosController |
Events
Event | Type | Description | Defined By |
---|---|---|---|
EVENT_AFTER_ACTION | yii\base\ActionEvent | An event raised right after executing a controller action. | yii\base\Controller |
EVENT_BEFORE_ACTION | yii\base\ActionEvent | An event raised right before executing a controller action. | yii\base\Controller |
Constants
Constant | Value | Description | Defined By |
---|---|---|---|
AFTER_FINDMODEL_EVENT | "afterFindModel" | lispa\amos\core\controllers\CrudController | |
BEFORE_FINDMODEL_EVENT | "beforeFindModel" | lispa\amos\core\controllers\CrudController |
Method Details
Base operations in order to render different list views
protected string baseListsAction ( $pageTitle, $layout = null ) | ||
$pageTitle | ||
$layout |
public void init ( ) | ||
throws | yii\base\InvalidConfigException |
---|
Used to set page title and breadcrumbs.
protected void setListsBreadcrumbs ( $pageTitle ) | ||
$pageTitle | string | Page title (ie. Created by, ...) |