PHP Classes

File: tests/assert_templates/if_else_simple.tpl

Recommend this page to a friend!
  Classes of Cesar D. Rodas  >  Haanga  >  tests/assert_templates/if_else_simple.tpl  >  Download  
File: tests/assert_templates/if_else_simple.tpl
Role: Auxiliary data
Content type: text/plain
Description: Testing file
Class: Haanga
Template engine to process Django style templates
Author: By
Last change: Added filters for contansts
Date: 3 years ago
Size: 405 bytes
 

Contents

Class file image Download
{% if 1 == 2 OR  1+2 == 3 %}True{% else %}False{% endif %}
{% if var|upper == var %}True{% else %}False{% endif %}
{% if 1 === 2 OR  1+2 === 3 %}True{% else %}False{% endif %}
{% if 1 !== 2 %}True{% else %}False{% endif %}
{% if 1 > 2 %}True{% else %}False{% endif %}
{% if 1 >= 2 %}True{% else %}False{% endif %}
{% if 1 <= 2 %}True{% else %}False{% endif %}
{% if 1 < 2 %}True{% else %}False{% endif %}
For more information send a message to info at phpclasses dot org.