__construct()
__get()
__isset()
__set()
__toString()
added_to_layout()
get_content()
get_engine()
get_file()
get_finder()
get_partials()
load()
render()
set()
set_content()
set_engine()
set_finder()
$charset
$css
$js
$meta
$title
$partials
$content
$engine
$finder
$has_view
A Layout (template) View class.
package | Owl |
---|---|
author | Dave Widmer |
__construct()
inherited_from | \Owl\View::__construct() |
---|
__get(string $name) : mixed
string
The name of the property to get
mixed
__isset(string $name) : boolean
string
The name of the property to check
boolean
__set(string $name, mixed $value)
inherited_from | \Owl\View::__set() |
---|
string
The propery name
mixed
The value to set
__toString() : string
inherited_from | \Owl\View::__toString() |
---|
string
added_to_layout(Layout $layout)
inherited_from | \Owl\View::added_to_layout() |
---|
get_content() : mixed
mixed
get_file() : string
inherited_from | \Owl\View::get_file() |
---|
string
get_partials() : array
inherited_from | \Owl\View::get_partials() |
---|
array
load(string $file) : string
inherited_from | \Owl\View::load() |
---|
string
The path of the template file (relative to the $templates_directory)
string
The full templaterender(array $partials) : string
array
An array of partials
string
The rendered templateset(mixed $name, mixed $value) : \Owl\View
inherited_from | \Owl\View::set() |
---|
mixed
The property name OR an array of params
mixed
The value of the property if not an array
\Owl\View
$thisset_content(mixed $content) : \Owl\Layout
set_engine(Engine $engine)
set_finder(Finder $finder)
$charset : string
$css : array
$js : array
$title : string
$partials : array
inherited_from | \Owl\View::$$partials |
---|
$content : mixed
$engine : \Owl\Engine
inherited_from | \Owl\View::$$engine |
---|
$finder : \Owl\Finder
inherited_from | \Owl\View::$$finder |
---|
$has_view : boolean