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:
-
$templateHandlebars_Template -
$contextHandlebars_Context -
$argsString | Array
Returns:
Array:
render
(
String
static
-
$template -
[$data=array()]
Render view using Handlebars rendering engine
Parameters:
-
$templateString -
[$data=array()]Mixed optional
Returns:
String:
Rendered template
render
(
String
static
-
$source -
[$data=array()]
Render source using Handlebars rendering engine
Parameters:
-
$sourceString -
[$data=array()]Mixed optional
Returns:
String:
Rendered template