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

eval like feature

Open DarkAxi0m opened this issue 12 years ago • 0 comments

I don't know how else to describe this but we are trying to create more dynamic reporting for our system, and want to something like the following,

{% for member in members %}
   <tr>
{% for  Field in Fields %} <td >{{ field.name }}</td> {% endfor %}
  </tr>
{% endfor %}

where field.name has strings like member.name or member.group and will get the member.name etc instead of just outputting the string "member.name" like the eval function.

DarkAxi0m avatar Oct 29 '13 04:10 DarkAxi0m