__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
stringThe name of the property to get
mixed__isset(string $name) : boolean
stringThe name of the property to check
boolean__set(string $name, mixed $value)
| inherited_from | \Owl\View::__set() |
|---|
stringThe propery name
mixedThe value to set
__toString() : string
| inherited_from | \Owl\View::__toString() |
|---|
stringadded_to_layout(Layout $layout)
| inherited_from | \Owl\View::added_to_layout() |
|---|
get_content() : mixed
mixedget_file() : string
| inherited_from | \Owl\View::get_file() |
|---|
stringget_partials() : array
| inherited_from | \Owl\View::get_partials() |
|---|
arrayload(string $file) : string
| inherited_from | \Owl\View::load() |
|---|
stringThe path of the template file (relative to the $templates_directory)
stringThe full templaterender(array $partials) : string
arrayAn array of partials
stringThe rendered templateset(mixed $name, mixed $value) : \Owl\View
| inherited_from | \Owl\View::set() |
|---|
mixedThe property name OR an array of params
mixedThe 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