Logic

These documentation pages are no longer maintained. Please visit the new documentation site.

The following table contains a list of template operators related to logical operations. Click on the name of an operator for more information about that specific operator (usage, parameters, description, examplets, etc.).

Operator Description
andEvaluates all parameters until one is found to be false, retu...
chooseUses the input value to pick one of the parameter elements.
condReturns the value of the first clause who's condition is true.
eqReturns true if input value equals parameter - or all paramet...
falseCreates a false boolean.
first_setReturns the first value which exists.
geReturns true if input is greater than or equal to the first p...
gtReturns true if input value is greater than the first parameter.
leReturns true if input is less than or equal to the first para...
ltReturns true if input is less than the first parameter.
neReturns true if one or more of the input parameters do not ma...
notReturns true if the input value is false.
nullReturns true if the input value is null (not the same as 0).
orEvaluates all parameters until one is found to be true, retur...
trueCreates a true boolean.

Comments

Contents

Reference

Database diagram
Template operators
    PDF
    Arrays
    Data extraction
    Formatting
    Images
    Logic
       and
       choose
       cond
       eq
       false
       first_set
       ge
       gt
       le
       lt
       ne
       not
       null
       or
       true
    Mathematics
    Miscellaneous
    Strings
    URLs
    Variables
Template functions
Data fetching
Modules
XML tags


Created

05/02/2004
10:21:46 am
by Balazs Halasy

Last updated

05/02/2004
3:57:37 pm
by Balazs Halasy

Authors

Balazs Halasy



This page is part of the eZ Publish documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.