Forums / Setup & design / How to fetch all the objects of a given class ?
Xavier Dutoit
Tuesday 21 December 2004 11:01:45 am
Hi,
I'm trying to fetch all the object of one type (eg all the articles, no matter where they are).
Isn't it a better solution that a fetch list + filter_class ?
X+
http://www.sydesy.com
Paul Borgermans
Tuesday 21 December 2004 12:12:29 pm
Hi Xavier
Just use content + tree and specify the parent node to be your content root node (normally 2)
hth
-paul
eZ Publish, eZ Find, Solr expert consulting and training http://twitter.com/paulborgermans