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
setView
yii\base\Controller::setView PHP Method
Controller Class Documentation
Datei anzeigen
Open project: yiisoft/yii2
setView()
public
method
Sets the view object to be used by this controller.
public
setView
(
View |
View
$view
)
$view
View |
View
the view object that can be used to render views or view files.
public function setView($view) { $this->_view = $view; }
Controller
__construct
actions
afterAction
beforeAction
bindActionParams
createAction
findLayoutFile
getModules
getRoute
getUniqueId
getView
getViewPath
render
renderContent
renderFile
renderPartial
run
runAction
setView
setViewPath