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
Controller
setViewPath
yii\base\Controller::setViewPath PHP Method
Controller Class Documentation
Datei anzeigen
Open project: yiisoft/yii2
setViewPath()
public
method
Sets the directory that contains the view files.
Since:
2.0.7
public
setViewPath
(
string
$path
)
$path
string
the root directory of view files.
public function setViewPath($path) { $this->_viewPath = Yii::getAlias($path); }
Controller
__construct
actions
afterAction
beforeAction
bindActionParams
createAction
findLayoutFile
getModules
getRoute
getUniqueId
getView
getViewPath
render
renderContent
renderFile
renderPartial
run
runAction
setView
setViewPath