Skip to the content
Documentation

Doesnt work on attributes

No ratings yet

This only works when you add a relation in the bottom of the content/edit and not on attributes.
If you makes an objectrelation-attribute they will appear in the details view of an object, but you wont get them from this fetch.
Maybe its common knowledge, but I was using some time to find out this.

Comments (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Re: Doesnt work on attributes

    pike ·

    I think thats what 'all_relations' does ? Pass true() to get all of them, including attributes.
    I dont think its completely documented, though. From doxygen, I read:
    true - return ALL relations, including attribute-level
    false - return object-level relations - DEFAULT
    >0 - bit mask of EZ_CONTENT_OBJECT_RELATION_* values
    $2c,
    *-pike