dust-php icon indicating copy to clipboard operation
dust-php copied to clipboard

Helper param as array(list)

Open EuroZond opened this issue 12 years ago • 0 comments

Hello! I do not understand how i can use list as param in helper? So i have some helper ex:

$this->_dust->helpers['print_r'] = function...
~~template.dust~~
{@print_r dump=... /}

How i can transmit into the dump list|array ?

dump[1]="100" dump["key"]="100" dump[]="100" dump.key="100" dump=["key":data.reference]

I try it all. Please help. I cant find any ex. about it.

EuroZond avatar Dec 05 '13 08:12 EuroZond