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

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