Forums / General / Object Relations / Comment32091

Author Topic

Deane Barker

Tuesday 23 August 2005 5:41:50 am

Comment32091

I think they built this into 3.6. See this change note.

http://ez.no/download/changelogs/ez_publish_3_6/new_features/advanced_related_objects

<i>Reverse related objects:
You can get an array of reverse related objects made with attributes using new template content fetch function 'reverse_related_objects' and get their quantity with 'reverse_related_objects_count' function. These function have two parameters:

* 'object_id'
* 'attribute_identifier'.

You can use either string attribute identifier or a numeric attribute ID. This parameter is not required and it's default vaule is zero, which is similar to 'reverse_related_contentobject_array' functional attribute of a content object. </i>