Forums / General / fecth all nodes from module

fecth all nodes from module

Author Message

Alain Mangana

Friday 04 December 2009 3:20:37 am

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

http://tikdem.com
/

Bertrand Dunogier

Friday 04 December 2009 6:03:13 am

What you're looking for is IgnoreVisibility = true

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier