Class lispa\amos\news\controllers\NewsWizardController
Class NewsWizardController
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
Action for details step of the wizard.
public string|yii\web\Response actionDetails ( $id = null ) | ||
$id | integer|null | The news id. |
Action for finish step of the wizard.
public string actionFinish ( $id ) | ||
$id | integer | The news id. |
Action for introduction step of the wizard.
public string|yii\web\Response actionIntroduction ( $id = null ) | ||
$id | integer|null | The news id. |
Action for publication step of the wizard.
public string|yii\web\Response actionPublication ( $id ) | ||
$id | integer | The news id. |
Action for summary step of the wizard.
public string|yii\web\Response actionSummary ( $id ) | ||
$id | integer | The news id. |
public array behaviors ( ) |
Get the next action to go to.
public yii\web\Response goToNextPart ( ) |
public void init ( ) | ||
throws | yii\base\InvalidConfigException |
---|
public boolean setUpLayout ( $layout = null ) | ||
$layout | null |