$settings $settings : \ManaPHP\Configuration\SettingsInterface Type \ManaPHP\Configuration\SettingsInterface
$redisCache $redisCache : \Redis|\ManaPHP\Data\RedisInterface Type \Redis|\ManaPHP\Data\RedisInterface
$redisBroker $redisBroker : \Redis|\ManaPHP\Data\RedisInterface Type \Redis|\ManaPHP\Data\RedisInterface
$coroutineManager $coroutineManager : \ManaPHP\Coroutine\ManagerInterface Type \ManaPHP\Coroutine\ManagerInterface
getInstance() getInstance(string $class, array $params = array()) : mixed Parameters string $class array $params Returns mixed
inject() inject(string $name, mixed $target) : static Parameters string $name mixed $target Returns static
attachEvent() attachEvent(string $event, callable $handler, boolean $appended = true) : static Attach a listener to the events manager Parameters string $event callable $handler boolean $appended Returns static
detachEvent() detachEvent(string $event, callable $handler) : static Parameters string $event callable $handler Returns static
peekEvent() peekEvent(string $group, callable $handler) : static Parameters string $group callable $handler Returns static
fireEvent() fireEvent(string $event, mixed $data = array(), mixed $source = null) : void Fires an event in the events manager causing that the active listeners will be notified about it Parameters string $event mixed $data mixed $source
on() on(string $event, callable $handler) : static Parameters string $event callable $handler Returns static
off() off(string $event = null, callable $handler = null) : static Parameters string $event callable $handler Returns static
setLayout() setLayout(false|string $layout = 'Default') : static Parameters false|string $layout Returns static
setVar() setVar(string $name, mixed $value) : static Set a single view parameter Parameters string $name mixed $value Returns static
setVars() setVars(array $vars) : static Adds parameters to view Parameters array $vars Returns static
getVar() getVar(string $name = null) : mixed Returns a parameter previously set in the view Parameters string $name Returns mixed
render() render(string $template = null, array $vars = array()) : string Executes render process from dispatching data Parameters string $template array $vars Returns string
exists() exists(string $template = null) : string|false Parameters string $template Returns string|false
getWidgetClassName() getWidgetClassName(string $widget) : string|false Parameters string $widget Returns string|false
widget() widget(string $widget, array $options = array()) : void Renders a widget Parameters string $widget array $options
setContent() setContent(string $content) : static Externally sets the view content Parameters string $content Returns static