Variables

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

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

Operator Description
floatTurns the input value into a float
get_classReturns the class of the target.
get_typeReturns the type of the target variable.
countReturns the count of the input value.
intTurns the input value into an integer
is_arrayReturns true if the target variable is an array.
is_booleanReturns true if the target variable is a boolean.
is_classReturns true if the target variable is a class.
is_floatReturns true if the target variable is a float.
is_integerReturns true if the target variable is an integer.
is_nullReturns true if the target variable is null.
is_numericReturns true if the target variable is a number.
is_objectReturns true if the target variable is an object.
is_setReturns true if the target variable is set (got value).
is_stringReturns true if the target variable is a string.
is_unsetReturns true if the target variable is not set (no value).

Comments

Contents

Reference

Database diagram
Template operators
    PDF
    Arrays
    Data extraction
    Formatting
    Images
    Logic
    Mathematics
    Miscellaneous
    Strings
    URLs
    Variables
       float
       get_class
       get_type
       count
       int
       is_array
       is_boolean
       is_class
       is_float
       is_integer
       is_null
       is_numeric
       is_object
       is_set
       is_string
       is_unset
Template functions
Data fetching
Modules
XML tags


Created

05/02/2004
10:23:30 am
by Balazs Halasy

Last updated

05/02/2004
4:00:31 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.