Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helper param as array(list) #5

Open
EuroZond opened this issue Dec 5, 2013 · 0 comments
Open

Helper param as array(list) #5

EuroZond opened this issue Dec 5, 2013 · 0 comments

Comments

@EuroZond
Copy link

EuroZond commented Dec 5, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant