📚 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.
class / eZTemplateAttributeOperator
|
Detailed DescriptionDisplay of variable attributes using operator "attribute".This class allows for displaying template variable attributes. The display is recursive and the number of levels can be maximized. The operator can take three parameters. The first is the maximum number of levels to recurse, if blank or omitted the maxium level is infinity. The second is the type of display, if set to "text" the output is as pure text otherwise as html. The third is whether to show variable values or not, default is to not show.
// Example template code // Display attributes of $myvar {$myvar|attribute} // Display 2 levels of $tree {$tree|attribute(2)} // Display attributes and values of $item {$item|attribute(,,show)}
Definition at line eztemplateattributeoperator.php. Constructor & Destructor Documentation
Member Function Documentation
The documentation for this class was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Exponential Copyright © 1998 - 2026 7x