View
class View (View source)
Methods
Force the View::render
method to render at the time it is called
Starts rendering of registered views. After calling this method call it will automatically
execute View::forceRender()
Share or remove shared data to Views, shared variables will be added as variables to the views that will be executed later
Check if view exists in ./application/View/ folder
Register or render a View. If View is registered this method returns the index number from View
Remove a registered View by index
Details
at line 25
static void
forceRender()
Force the View::render
method to render at the time it is called
at line 36
static void
dispatch()
Starts rendering of registered views. After calling this method call it will automatically
execute View::forceRender()
at line 56
static void
data(string $key, mixed $value)
Share or remove shared data to Views, shared variables will be added as variables to the views that will be executed later
at line 71
static bool
exists(string $view)
Check if view exists in ./application/View/ folder
at line 84
static int|null
render(string $view, array $data = array())
Register or render a View. If View is registered this method returns the index number from View
at line 103
static void
remove(int $index)
Remove a registered View by index