Share » Forums » Developer » get the list of objects

get the list of objects

get the list of objects

Sunday 27 July 2008 4:44:29 am - 1 reply

Author Message

Pascal Specht

Monday 28 July 2008 9:19:53 am

Hi,

I would use the fetch function, like this (exemple, get all products):

$list = eZContentObjectTreeNode::subTree( array( 'Depth' => 100,
											 'ClassFilterType' => 'include',
											 'ClassFilterArray' => array('product') ), 2 );

and then loop through the objects looking ofr their creator ID or placement, to find out who they belong to.

Hope this helps,
Cheers,

</Pascal>

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

36 542 Users on board!

Forums menu