📚 Looking for current Exponential documentation? This site contains legacy SDK & API reference docs (eZ Publish era). For up-to-date 2026 product documentation, visit doc.exponential.earth.

  eztemplate / operator_creators  

<< Operator list  Function list >> 

Type creators

Some types can only be created from the PHP side or with the use of operators. Arrays are created with the array or the hash operator and booleans with the true and false operators.

{* Creating array with numerics *}
{array(1,2,5)}

{* Creating array with strings *}
{array('red','green','blue')}

{* Creating associative array *}
{hash(name,'Ola Norman',age,26)}

{* Creating booleans *}
{true()}
{false()}

{* Creating array with booleans *}
{array(true(),false(),true())}

Exponential Copyright © 1998 - 2026 7x