This is the old documentation center for eZ Publish 4. We are currently migrating the eZ Publish documentation to http://confluence.ez.no the eZ Publish 5 documentation platform. Documentation for the eZ Publish legacy components are still located on this site, as well as all documentation for earlier releases.

null

Summary

Returns TRUE if the input value is NULL (not the same as 0).

Usage

input|null()

Returns

TRUE or FALSE.

Description

This operator returns TRUE if the input value is NULL, otherwise FALSE will be returned. Please note that NULL is not the same as a numeric zero (0).

Examples

Example 1

{if 0|null()}
    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 11:43 am)

Balazs Halasy (04/05/2005 4:10 pm)


Comments

There are no comments.