Hazaar\View
Layout
Summary
MethodsPropertiesConstants
No constants
Properties
$_content
$_content
$_links
$_links
$_postItems
$_postItems
$_priority
$_priority
$_rendered_views
$_rendered_views
$_requires
$_requires
$_requires_param
$_requires_param
$_views
$_views
$cacheDir
$cacheDir
Methods
__construct()
__construct($view = null)
add()
add($view, $key = null) : \Hazaar\View
Add a view to the layout

This method will add a view based on the supplied argument. If the argument is a string a new Hazaar\View object is created using the view file named in the argument. Alterntively, the argument can be a Hazaar\View object which will simply then be added to the layout.

addPost()
addPost($item)
current()
current()
import()
import()
key()
key()
layout()
layout() : string
Render the views contained in this layout view
lib()
lib($type, $request)
link()
link($href, $rel = null, $cache_local = null)
next()
next()
offsetExists()
offsetExists($offset)
offsetGet()
offsetGet($offset)
offsetSet()
offsetSet($offset, $value)
offsetUnset()
offsetUnset($offset)
post()
post()
prepare()
prepare($merge_data = true)
remove()
remove($key)
render()
render()
Render the layout with an optional prepare method
requires()
requires($script, $charset = null, $cache_local = null)
rewind()
rewind()
setContent()
setContent($content)
setImportPriority()
setImportPriority($priority)
valid()
valid()
Powered by Scroly.io Generated: Thursday, October 3rd 2019 at 2:45pm