Method | Description | |
---|---|---|
analyze ( array\array |
Analyze an expression | |
arrayString ( array |
Get string presentation for an array | |
boolString ( integer $v ) : string | return 'true' or 'false' string. | |
listString ( array |
Get string presentation for a string list | |
toString ( integer $levels, boolean $spvar, array |
get normalized handlebars expression for a variable |
public static analyze ( array\array |
||
$context | array\array |
|
$var | array |
|
return | array |
public static arrayString ( array |
||
$list | array |
|
return | string | PHP array names string |
public static boolString ( integer $v ) : string | ||
$v | integer | value |
return | string | 'true' when the value larger then 0 |
public static listString ( array |
||
$list | array |
|
return | string | PHP list string |