h2o-php
h2o-php copied to clipboard
eval like feature
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.