Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
yii
base
Module
setLayoutPath
yii\base\Module::setLayoutPath PHP Method
Module Class Documentation
Show file
Open project: yiisoft/yii2
setLayoutPath()
public
method
Sets the directory that contains the layout files.
public
setLayoutPath
(
string
$path
)
$path
string
the root directory or path alias of layout files.
public function setLayoutPath($path) { $this->_layoutPath = Yii::getAlias($path); }
Module
__construct
afterAction
beforeAction
createController
createControllerByID
defaultVersion
getBasePath
getControllerPath
getInstance
getLayoutPath
getModule
getModules
getUniqueId
getVersion
getViewPath
hasModule
init
runAction
setAliases
setBasePath
setInstance
setLayoutPath
setModule
setModules
setVersion
setViewPath