__construct()
__get()
__isset()
__set()
__toString()
addedToLayout()
getContent()
getEngine()
getFile()
getFinder()
getPartials()
load()
render()
set()
setContent()
setEngine()
setFinder()
$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() | 
|---|
stringaddedToLayout(Layout $layout)
| inherited_from | \Owl\View::addedToLayout() | 
|---|
getContent() : mixed
mixedgetFile() : string
| inherited_from | \Owl\View::getFile() | 
|---|
stringgetPartials() : array
| inherited_from | \Owl\View::getPartials() | 
|---|
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$thissetContent(mixed $content) : \Owl\Layout
setEngine(Engine $engine)
setFinder(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