Class dmstr\modules\pages\controllers\DefaultController
Inheritance | dmstr\modules\pages\controllers\DefaultController » yii\web\Controller |
---|
Class DefaultController
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$enableCsrfValidation | boolean | Whether to enable CSRF validation for the actions in this controller. | dmstr\modules\pages\controllers\DefaultController |
Public Methods
Method | Description | Defined By |
---|---|---|
actionIndex() | dmstr\modules\pages\controllers\DefaultController | |
actionPage() | Renders a page view from the database | dmstr\modules\pages\controllers\DefaultController |
behaviors() | dmstr\modules\pages\controllers\DefaultController |
Property Details
Whether to enable CSRF validation for the actions in this controller. CSRF validation is enabled only when both this property and \dmstr\modules\pages\controllers\Request::enableCsrfValidation are true.
Method Details
public void actionIndex ( ) |
Renders a page view from the database
public string actionPage ( $id, $pageName = null, $parentLeave = null ) | ||
$id | ||
$pageName | null | |
$parentLeave | null | |
throws | \yii\web\HttpException |
---|
public void behaviors ( ) |