Other functions
General functions for creating Saurus API templates more easily.
{while} 4.1.0
Similar to PHP while command.
{assign var="loop_control" value=true}{while var="loop_control"}
....
{if you_want_to_exit_loop}{assign var="loop_control" value=false}{/if}
{/while}
{array_push} 4.1.0
Similar to PHP array_push command, helps to create arrays more easily.
Variable type will be changed to array (existing string value may be lost).
{$array|@array_push:"foo"} {* same as $array[]="foo" in PHP *}
RSS