This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » General » fecth all nodes from module
expandshrink

fecth all nodes from module

fecth all nodes from module

Friday 04 December 2009 12:20:37 pm - 1 reply

i need to fecth all nodes of a subtree from module. I want to retrieve all nodes visible and hidden nodes. Unfortunately I only have nodes visible. and if I set " 'is_hidden' " to "1" it gives 0 results
Here is my code

<code>

$parent=eZContentObjectTreeNode::subTreeByNodeID(
array( 'ClassFilterType' => 'include',
'ClassFilterArray' => array('47'),// nom de la classe
'Depth' => 1,
'is_hidden' => 0,
'DepthOperator' => 'eq'),
'5'// ID du noeud parent

</code>

Who can help me...
thank you

Friday 04 December 2009 3:03:13 pm

What you're looking for is IgnoreVisibility = true

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from