PHP Classes

File: tests/assert_templates/loop.tpl

Recommend this page to a friend!
  Classes of Cesar D. Rodas   Haanga   tests/assert_templates/loop.tpl   Download  
File: tests/assert_templates/loop.tpl
Role: Auxiliary data
Content type: text/plain
Description: Testing file
Class: Haanga
Template engine to process Django style templates
Author: By
Last change: Update of tests/assert_templates/loop.tpl
Date: 4 years ago
Size: 752 bytes
 

Contents

Class file image Download
{% for i in array %} {{ forloop.revcounter0 }} {% endfor %} {% for i in array %} {{ forloop.revcounter }} {% endfor %} {% for i in array %}{% filter trim %} {% if forloop.last %} Last {{ i }}{% endif %} {% endfilter %}{% endfor %} {% for k,sub in array_nested %}{% filter trim %} {% for arr in sub %} {% for val in arr %} {% if forloop.parentloop.parentloop.last %} Last {{ k }}{% endif %} {% endfor %} {% endfor %} {% endfilter %}{% endfor %} {% for k,sub in array_nested %}{% filter trim %} {% for arr in sub %} {% for val in arr %} {% if forloop.parentloop.parentloop.first %} first {{ k }}{% endif %} {% endfor %} {% endfor %} {% endfilter %}{% endfor %}