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

New parameter in 'content_structure_tree' operator

Added new boolean parameter in 'content_structure_tree' operator: $unfoldNodeID.

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/features/3.6/content_structure_tree_operator_changes.txt

*Title: New parameter in 'content_structure_tree' operator.

*Documentation:
Added new boolean parameter in 'content_structure_tree' operator: $unfoldNodeID.
<code>
{set contentStructureTree = content_structure_tree( $rootNodeID, $classFilter,
                                                    $maxDepth, $maxNodes,
                                                    $sortBy, $fetchHidden,
                                                    $unfoldNodeID ) }
</code>

If $unfoldNodeID is not set or equal 0 (false) then 'content_structure_operator'
works as it worked before. Otherwise, $unfoldNodeID define a node which must be
unfolded. Note what node (defined by the $unfoldNodeID) can be only first-level
child of the root node (defined by the $rootNodeID). If node $unfoldNodeID is
not first-level child of the root node or cannot be fetched att all then
'content_structure_tree' operator works as it worked before too.

Something wrong on this page? Report an error

Documentation license

This page was inherited from the documentation of the original software. It is not covered by the GNU Free Documentation License; it is distributed under the GNU General Public License, version 2.

Copyright (C) 1999 - 2014 eZ Systems AS and contributors