\Hazaar
View
Summary
Methods Properties Constants
get
has
set
yn
No constants
Properties
$_data
$_data
$_helpers
$_helpers
View Helpers
$_helpers_init
$_helpers_init
Array for storing names of initialised helpers so we only initialise them once
$_links
$_links
$_methodHandler
$_methodHandler
$_postItems
$_postItems
$_priority
$_priority
$_rendering
$_rendering
$_requires
$_requires
$_requires_param
$_requires_param
$_scripts
$_scripts
$_viewfile
$_viewfile
$name
$name
Methods
__call()
__call($method, $args)

Parameters

$method

No description

$args

No description

__construct()
__construct($view, $init_default_helpers = true)

Parameters

$view

No description

$init_default_helpers

No description

__get()
__get($helper)

Parameters

$helper

No description

__isset()
__isset($key)

Parameters

$key

No description

__set()
__set($key, $value)

Parameters

$key

No description

$value

No description

__unset()
__unset($key)

Parameters

$key

No description

addHelper()
addHelper($helper, $args = Array ( ) )

Parameters

$helper

No description

$args

No description

addPost()
addPost($item)

Parameters

$item

No description

date()
date($date)

Parameters

$date

No description

Static
datetime()
datetime($value, $format = null)

Parameters

$value

No description

$format

No description

extend()
extend($array)

Parameters

$arrayarray

No description

get()
get($helper, $default = null)

Parameters

$helper

No description

$default

No description

getData()
getData()
getHelper()
getHelper($key)

Parameters

$key

No description

getHelpers()
getHelpers()
getName()
getName()
getViewFile()
getViewFile()
has()
has($key)

Parameters

$key

No description

hasHelper()
hasHelper($helper)

Parameters

$helper

No description

import()
import()
initHelpers()
initHelpers()
link()
link($href, $rel = null)

Parameters

$href

No description

$rel

No description

load()
load($view)

Parameters

$view

No description

partial()
partial($view, $data = Array ( ) )

Parameters

$view

No description

$dataarray

No description

partialLoop()
partialLoop($view, $data)

Parameters

$view

No description

$dataarray

No description

populate()
populate($array)

Parameters

$arrayarray

No description

post()
post()
registerController()
registerController($controller)
Registers a controller on the view for method callbacks.

Tags

Deprecated

Replaced by Hazaar\View::registerMethodHandler().

Parameters

$controller

No description

registerMethodHandler()
registerMethodHandler($handler)
Registers an object on the view for method callbacks.

Tags

Throws

\Exception

Parameters

$handler

No description

remove()
remove($key)

Parameters

$key

No description

render()
render()
requires()
requires($script, $charset = null)

Parameters

$script

No description

$charset

No description

script()
script($code)

Parameters

$code

No description

set()
set($key, $value)

Parameters

$key

No description

$value

No description

setImportPriority()
setImportPriority($priority)

Parameters

$priority

No description

setRequiresParam()
setRequiresParam($array)

Parameters

$array

No description

Static
timestamp()
timestamp($value)

Parameters

$value

No description

yn()
yn($value, $labels = Array ( [0] => Yes ) )

Parameters

$value

No description

$labels

No description