Class lispa\amos\community\controllers\CommunityWizardController
Public Properties
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
findModel() | Finds the modelObj model based on its primary key value. | lispa\amos\core\controllers\CrudController |
getDefaultCurrentView() | lispa\amos\core\controllers\CrudController | |
getRules() | lispa\amos\core\controllers\BaseController | |
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 |
Property Details
Method Details
Renders Access Type step of progress-wizard form
In this step the user selects the type of community (private, public or reserved)
public string|yii\web\Response actionAccessType ( $id ) | ||
$id | Integer - id of community model |
Renders to the final step of progress-wizard form
public string|yii\web\Response actionCompletion ( $id ) | ||
$id | Integer - id of community model |
Renders Detail Information step of progress-wizard form
In step information the user sets the community basic information
public string|yii\web\Response actionDetails ( $id = null, $parentId = null ) | ||
$id | integer |
|
$parentId | integer|null |
Renders Introductory step of community progress-wizard form
public string|yii\web\Response actionIntroduction ( $id = null, $parentId = null ) | ||
$id | integer |
|
$parentId | integer|null |
Redirect to creation wizard specifying the parent id of the subcommunity
public yii\web\Response actionNewSubcommunity ( $id = null ) | ||
$id | null | The community from which a new subcommity will be created |
Renders Tag step of progress-wizard form
In step Tag the user selects the tags to relate to community
public string|yii\web\Response actionTag ( $id ) | ||
$id | Integer - id of community model |
public array behaviors ( ) |
Redirects to the next step of community progress-wizard form
public yii\web\Response goToNextPart ( ) |
public void init ( ) | ||
throws | yii\base\InvalidConfigException |
---|
public boolean setUpLayout ( $layout = null ) | ||
$layout | null |