\Hazaar\View\Helper
Warlock
Warlock - The background signal and command processor view helper

This view helper is the client-side javascript required to use the built-in background signal and command processor.

Tags

Since

2.0.0

Summary
Methods Properties Constants
set
No constants
Properties
$js_varname
$js_varname
Inherited
$view
$view
Methods
controlPanel()
controlPanel($code = null, $params = Array ( ) )

Parameters

$code

No description

$params

No description

import()
import()
init()
init($view, $args = Array ( ) )

Initialise the view helper and include the buttons.css file. Adds a requirement for the HTML view helper.

Parameters

$view

No description

$args

No description

subscribe()
subscribe($event_id, $callback = null)

Tags

Since

2.0.0

Parameters

$event_id

No description

$callback

No description

trigger()
trigger($event_id, $data = null)

Parameters

$event_id

No description

$data

No description

Inherited
import()
import()
Inherited
init()
init($view, $args = Array ( ) )

Parameters

$view

No description

$args

No description

Inherited
initialise()
initialise($args = null)

Parameters

$args

No description

Inherited
requires()
requires($helper, $args = Array ( ) )

Parameters

$helper

No description

$args

No description

Inherited
set()
set($arg, $value)

Parameters

$arg

No description

$value

No description