File: |
lib/Haanga/Generator/PHP.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
Generator (for PHP) class |
Class: |
Haanga
Template engine to process Django style templates |
Author: |
By Cesar D. Rodas |
Last change: |
Fixed iterating over an object with foreach
Merge branch 'release/1.0.5'
variable (scope variable) now has a random name
for in template won't generate PHP warning when iterating over empty array
In template, before {% for item in items %} I had to check
if items had at least one element, if I didn't I got "Invalid argument supplied for foreach() in".
|
Date: |
4 years ago |
Size: |
20,901 bytes |
|
|
|