Variable interpolation

27 views
Skip to first unread message

Tom Helmer Hansen

unread,
May 5, 2011, 5:51:42 PM5/5/11
to H2o template PHP
It would be nice if variable interpolation like template toolkits :

http://template-toolkit.org/docs/manual/Variables.html#section_Variable_Interpolation

was possible in h2o, example :

{% for okey,oval in outerarray %}
{% for ikey,ival in somedata.$okey %}
{{ikey}} : {{ ival }}
{% endfor %}
{% endfor %}

Reply all
Reply to author
Forward
0 new messages