]> WPIA git - gigi.git/blobdiff - doc/TemplateSyntax.txt
Enlargen the variety of use cases for the Template if statement.
[gigi.git] / doc / TemplateSyntax.txt
index 2c6d8a0265d0e61eeca4820d6cb7b2012ac5fff2..40dff59cf7ac770ec26caaeef28b6fcbe0e81735 100644 (file)
@@ -10,7 +10,7 @@ A template is constructed from a charstream. Everything that is not in "<?" to "
   Translate the last string. Output $var1,...,$varn replaced into the %s positions in the translated string.
   
 - <? if($variable) { ?>
-  Output/execute the text until "<? } ?>" only if $variable is boolean and true.
+  Output/execute the text until "<? } ?>" only if $variable not null or Boolean.FALSE.
   
 - <? foreach($variable) { ?>
   If $variable is an "IterableDataset"