Forums / Setup & design / retrieving filtered related objects

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