Skip to the content
Documentation

related_objects_ids

No ratings yet

Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it.

Summary

Calls eZContentFunctionCollection::fetchRelatedObjectsID() (kernel/content/function_definition.php).

Usage

fetch( 'content', 'related_objects_ids',
       hash( 'object_id', object_id,
             [ 'attribute_identifier', attribute_identifier ],
             [ 'all_relations', all_relations ] ) )

Parameters

Name Type Required Default
object_id integer Yes.  
attribute_identifier string No. "0"
all_relations array No. false

Source

kernel/content/function_definition.php, eZContentFunctionCollection::fetchRelatedObjectsID()

See also

Generated example: fetch( 'content', 'related_objects_ids' )

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.