How to fetch all the objects of a given class ?

Author Message

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.