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
ManaPHP
Mvc
ViewInterface
widget
ManaPHP\Mvc\ViewInterface::widget PHP Method
ViewInterface Interface Documentation
Show file
Open project: manaphp/manaphp
widget()
public
method
Renders a widget
public
widget
(
string
$widget
,
array
$vars
= [],
integer
|
array
$cacheOptions
= null )
$widget
string
$vars
array
$cacheOptions
integer
|
array
public function widget($widget, $vars = [], $cacheOptions = null);
ViewInterface
getContent
getVar
partial
pick
render
setContent
setLayout
setVar
setVars
widget