Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

false

Summary

Creates and returns a boolean FALSE.

Usage

false()

Returns

FALSE.

Description

This operator creates and returns a boolean FALSE. It can be used to define a boolean variable and in logical comparisons.

Examples

Example 1

{def $my_boolean=false()}
 
{if $my_boolean}
    The truth is out there.
{else}
    The day the earth stood still.
{/if}

The following output will be produced: "The day the earth stood still.".

Balazs Halasy (05/02/2004 10:40 am)

Balazs Halasy (04/05/2005 2:07 pm)


Comments

There are no comments.