Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
base
Module
setViewPath
yii\base\Module::setViewPath PHP Method
Module Class Documentation
Datei anzeigen
Open project: yiisoft/yii2
setViewPath()
public
method
Sets the directory that contains the view files.
public
setViewPath
(
string
$path
)
$path
string
the root directory of view files.
public function setViewPath($path) { $this->_viewPath = 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