__construct()
__set()
__toString()
added_to_layout()
get_engine()
get_file()
get_finder()
get_partials()
load()
render()
set()
set_engine()
set_finder()
$partials
$engine
$finder
The base View class.
package | Owl |
---|---|
author | Dave Widmer |
__construct()
__set(string $name, mixed $value)
string
The propery name
mixed
The value to set
__toString() : string
string
added_to_layout(Layout $layout)
get_engine() : \Owl\Engine
\Owl\Engine
The template rendering engine.get_file() : string
string
get_partials() : array
array
load(string $file) : string
string
The path of the template file (relative to the $templates_directory)
string
The full templaterender(array $partials) : string
array
An associative array of $name => $template
string
The rendered HTMLset(mixed $name, mixed $value) : \Owl\View
mixed
The property name OR an array of params
mixed
The value of the property if not an array
\Owl\View
$thisset_engine(Engine $engine)
$partials : array