debug\controllers\DefaultController $layout

$layout public property

The name of the layout to be applied to this controller's views. This property mainly affects the behavior of render(). Defaults to null, meaning the actual layout value should inherit that from $module's layout value. If false, no layout will be applied.

The name of the layout to be applied to this controller's views. This property mainly affects the behavior of render(). Defaults to null, meaning the actual layout value should inherit that from $module's layout value. If false, no layout will be applied.

public null|string|false $layout = 'main'
doc_Yii
2016-10-30 17:00:13
Comments
Leave a Comment

Please login to continue.