Forums / Setup & design / How to fetch all the objects of a given class ?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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