Forums / Setup & design / retrieving filtered related objects

"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".

retrieving filtered related objects

Author Message

Ovanes Markarian

Tuesday 13 May 2008 2:50:15 pm

Is it possible to use:

fetch( 'content', 'related_objects',
        hash( 'object_id',            object_id,
            [ 'attribute_identifier', attribute_identifier, ]
            [ 'all_relations',        boolean,              ]
            [ 'group_by_attribute',   boolean,              ],
            [ 'sort_by',              sort_by               ] ) )

function to retrieve related objects filtered by class type. Like retrieving only images or only special content or only links etc.

May be this function is wrong anyway and I should use another one?

Many thanks in advance!
Ovanes