Forums / Developer / Accessing related objects of another 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".

Accessing related objects of another class

Author Message

Markus Bader

Friday 26 January 2007 12:59:49 am

Hello everyone!

I have some downloads (files) as related objects of the product class. Now I want to build a download area in which all these files are listed. Can anyone of you tell me how I can fetch the related objects of another object/class? Thank you very much.

Markus Bader

Nicolas Lescure

Friday 26 January 2007 5:18:22 am

You should check that : http://ez.no/doc/ez_publish/technical_manual/3_8/reference/modules/content/fetch_functions/related_objects

Felix Woldt

Wednesday 31 January 2007 4:23:19 am

hi,

if you you need some more filter e.g. sort_by ... you have to use an extension e.g. http://ez.no/community/contribs/template_plugins/objectrelationfilter__1

only if you use ez <= 3.8

i think in ez 3.9 their is already a objectrelationfilter in a fetch( 'content', 'list', hash(...)) available

http://www.jac-systeme.de - Developers united in eZ Publish: http://www.cjw-network.com

CJW Newsletter 1.0.0 released: http://projects.ez.no/cjw_newsletter