__construct()
__set()
__toString()
addedToLayout()
getEngine()
getFile()
getFinder()
getPartials()
load()
render()
set()
setEngine()
setFinder()
$partials
$engine
$finder
The base View class.
| package | Owl |
|---|---|
| author | Dave Widmer |
__construct()
__set(string $name, mixed $value)
stringThe propery name
mixedThe value to set
__toString() : string
stringaddedToLayout(Layout $layout)
getEngine() : \Owl\Engine
\Owl\EngineThe template rendering engine.getFile() : string
stringgetPartials() : array
arrayload(string $file) : string
stringThe path of the template file (relative to the $templates_directory)
stringThe full templaterender(array $partials) : string
arrayAn associative array of $name => $template
stringThe rendered HTMLset(mixed $name, mixed $value) : \Owl\View
mixedThe property name OR an array of params
mixedThe value of the property if not an array
\Owl\View$thissetEngine(Engine $engine)
$partials : array