\Hazaar\View\Widgets
JavaScript
Summary
Methods Properties Constants
No constants
Properties
$anon
$anon
$argdef
$argdef
$value
$value
Methods
__construct()
__construct($value, $argdef = Array ( ) , $anon = false)

Parameters

$value

No description

$argdef

No description

$anon

No description

anon()
anon($toggle = true) : \\Hazaar\\Widgets\\JavaScript

Turns off the the use of an anonymous function container

Parameters

$toggle

No description

Returns

\\Hazaar\\Widgets\\JavaScript
renderChildObject()
renderChildObject($obj)

Parameters

$obj

No description

renderObject()
renderObject($anon = false) : string

Renders the function to a string

Parameters

$anon\Hazaar\View\Widgets\bool

Use an anonymous function when rendering. Overrides $this->anon(). Useful for rendering anonymous functions when they are inside a specific object such as JSONObject.

Returns

string
setArgs()
setArgs($argdef = Array ( ) )

Parameters

$argdef

No description