Booleans

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

Booleans are binary, they are either true or false. A boolean must be created using either the true() or the false() operator. Example:

{true()}

{false()}

For some operators and functions, it is possible to use integers as booleans. However, these are not "real" booleans. Zero means false; all non-zero values mean true. Some operators support arrays. An empty array means false.

Comments

Contents

The template language

Template code
Curly bracket issues
Comments
Variable types
    Numbers
    Strings
    Booleans
    Arrays
    Objects


Created

27/02/2004
3:36:20 pm
by Balazs Halasy

Last updated

27/02/2004
3:36:20 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.