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. |
Please login to continue.