Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

treemenu template operator

The treemenu template operator: 9 parameter(s), registered by eZTreeMenuOperator.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/template-operators/treemenu.md

On this page

The treemenu template operator

Registered in kernel/common/eztemplateautoload.php by the class eZTreeMenuOperator (kernel/common/eztreemenuoperator.php).

Parameters

ParameterTypeRequiredDefault
patharrayyesfalse
node_idintnofalse
class_filterarraynofalse
depth_skipintnofalse
max_levelintnofalse
is_selected_methodstringno'tree'
indentation_levelintno15
languagestring|arraynofalse
load_data_mapbooleannonull

Example

Built from the parameter list above; the values are placeholders (the operator's template hints decide whether it takes an input).

{$value|treemenu( array(), 1, array(), 1, 1, 'tree', 15, $language, true() )}

Generated by ./console exp:help:examples from kernel/common/eztemplateautoload.php, kernel/common/eztreemenuoperator.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x