Object relation
Summary
Stores a relation to a content object.Properties
Name | Internal name | Searchable | Information collector |
---|---|---|---|
Object relation | ezobjectrelation | Yes. | No. |
Description
This datatype allows the relation of a single object. The following screenshot shows the class attribute edit interface for this datatype.
Please note that this datatype takes care of a single object relation only, and doesn't consider any particular existing permissions or visibility states. If you intend to filter relations considering existing roles and permissions we recommend the use of fetch functions within view templates. This way permissions and visibility will be considered.
Class attribute edit interface for the "Object relation" datatype.
Object attribute edit interface
The following screenshot shows the object attribute edit interface for this datatype.
Object attribute edit interface for the "Object relation" datatype.
Raw output
The ".content" of an ezcontentobjectattribute object using this datatype returns either FALSE (if there is no relation) or an ezcontentobject object.
Balazs Halasy (21/02/2005 2:40 pm)
Ricardo Correia (14/05/2013 10:11 am)
Comments