Method |
Description |
|
debug ( string $v, string $f, array\arraystring | integer> $cx ) |
Output debug info. |
|
enc ( array\arraystring | integer> $cx, arraystring | integer> | integer | null $var ) : string |
For {{var}} . |
|
encq ( array\arraystring | integer> $cx, arraystring | integer> | integer | null $var ) : string |
For {{var}} , do html encode just like handlebars.js . |
|
err ( array\arraystring | integer> $cx, string $err ) |
Handle error by error_log or throw exception. |
|
hbch ( array\arraystring | integer> $cx, string $ch, arraystring | integer> | integer | null $vars, string $op, boolean $inverted, Closure | null $cb = null, Closure | null $else = null ) : string |
For custom helpers. |
|
ifvar ( array\arraystring | integer> $cx, arraystring | integer> | integer | null $v, boolean $zero ) : boolean |
For {{#if}} . |
|
in ( array\arraystring | integer> &$cx, string $p, Closure $code ) |
For {{#* inlinepartial}} . |
|
isec ( array\arraystring | integer> $cx, arraystring | integer> | integer | null $v ) : boolean |
For {{^var}} . |
|
lo ( array\arraystring | integer> $cx, string $v ) |
For {{log}} . |
|
m ( array\arraystring | integer> $cx, arraystring | integer> | integer | null $a, arraystring | integer> | integer | null $b ) : arraystring | integer> | integer |
Get merged context. |
|
miss ( array\arraystring | integer> $cx, string $v ) |
Handle missing data error. |
|
p ( array\arraystring | integer> $cx, string $p, arraystring | integer> | integer | null $v, $pid, $sp = '' ) : string |
For {{> partial}} . |
|
sec ( array\arraystring | integer> $cx, arraystring | integer> | integer | null $v, array | null $bp, arraystring | integer> | integer | null $in, boolean $each, Closure $cb, Closure | null $else = null ) : string |
For {{#var}} or {{#each}} . |
|
v ( array\arraystring | integer> $cx, array | string | boolean | integer | double | null $in, arraystring | integer> $base, array $path, array | null $args = null ) : null | string |
Resursive lookup variable and helpers. This is slow and will only be used for instance property or method detection or lambdas. |
|
wi ( array\arraystring | integer> $cx, arraystring | integer> | integer | null $v, array | null $bp, arraystring | integer> | integer | null $in, Closure $cb, Closure | null $else = null ) : string |
For {{#with}} . |
|