Q_Handlebars Class
This class lets you output render handlebars templates
Methods
parseArgs
(
Array
static
-
$template
-
$context
-
$args
Call this in your helpers to parse the args into a useful array
Parameters:
-
$template
Handlebars_Template -
$context
Handlebars_Context -
$args
String | Array
Returns:
Array:
render
(
String
static
-
$template
-
[$data=array()]
Render view using Handlebars rendering engine
Parameters:
-
$template
String -
[$data=array()]
Mixed optional
Returns:
String:
Rendered template
render
(
String
static
-
$source
-
[$data=array()]
Render source using Handlebars rendering engine
Parameters:
-
$source
String -
[$data=array()]
Mixed optional
Returns:
String:
Rendered template