Class dmstr\modules\pages\controllers\DefaultController

Inheritancedmstr\modules\pages\controllers\DefaultController » yii\web\Controller

Class DefaultController

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$enableCsrfValidation boolean Whether to enable CSRF validation for the actions in this controller. dmstr\modules\pages\controllers\DefaultController

Property Details

$enableCsrfValidation public property

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

actionIndex() public method

public void actionIndex ( )
actionPage() public method

Renders a page view from the database

public string actionPage ( $id, $pageName null, $parentLeave null )
$id
$pageName null
$parentLeave null
throws \yii\web\HttpException
behaviors() public method

public void behaviors ( )