base\Controller findLayoutFile()

findLayoutFile() public method

Finds the applicable layout file.

public string|boolean findLayoutFile ( $view )
$view yii\base\View

The view object to render the layout file.

return string|boolean

The layout file path, or false if layout is not needed. Please refer to render() on how to specify this parameter.

throws yii\base\InvalidParamException

if an invalid path alias is used to specify the layout.

doc_Yii
2016-10-30 16:51:24
Comments
Leave a Comment

Please login to continue.