]> WPIA git - gigi.git/blobdiff - doc/TemplateSyntax.txt
Implement a Template-Foreach (and use in "new email certificate")
[gigi.git] / doc / TemplateSyntax.txt
index 3b4a07ca1c0f1962b248be2e7fee91edde56bb5d..ab4cc37d37060a2e0b229629bf70df791df0a1c8 100644 (file)
@@ -12,3 +12,10 @@ A template is constructed from a charstream. Everything that is not in "<?" to "
 - <? if($variable) { ?>
   Output/execute the text until "<? } ?>" only if $variable is boolean and true.
   
+- <? foreach($variable) { ?>
+  If $variable is an "IterableDataset"
+  Output/execute the text until "<? } ?>" repeated as $variable suggests. 
+  Special variables that $variable defines can be used in the inner text.
+  
+  
\ No newline at end of file