eZPublishCommunityProject  2012.12
eZ\Publish\API\Repository\Values\Content\Relation Class Reference
+ Inheritance diagram for eZ\Publish\API\Repository\Values\Content\Relation:
+ Collaboration diagram for eZ\Publish\API\Repository\Values\Content\Relation:

Public Member Functions

 getDestinationContentInfo ()
 the content of the destination content of the relation More...
 
 getSourceContentInfo ()
 the content of the source content of the relation More...
 
- Public Member Functions inherited from eZ\Publish\API\Repository\Values\ValueObject
 __construct (array $properties=array())
 Construct object optionally with a set of properties. More...
 
 __get ($property)
 Magic get function handling read to non public properties. More...
 
 __isset ($property)
 Magic isset function handling isset() to non public properties. More...
 
 __set ($property, $value)
 Magic set function handling writes to non public properties. More...
 
 __unset ($property)
 Magic unset function handling unset() to non public properties. More...
 
 attribute ($property)
 Internal function for Legacy template engine compatibility to get property value. More...
 
 attributes ()
 Internal function for Legacy template engine compatibility to get properties. More...
 
 hasAttribute ($property)
 Internal function for Legacy template engine compatibility to check existence of property. More...
 

Public Attributes

const COMMON = 1
 
const EMBED = 2
 
const FIELD = 8
 
const LINK = 4
 

Protected Attributes

 $id
 
 $sourceFieldDefinitionIdentifier
 
 $type
 

Additional Inherited Members

- Static Public Member Functions inherited from eZ\Publish\API\Repository\Values\ValueObject
static __set_state (array $array)
 Returns a new instance of this class with the data specified by $array. More...
 
- Protected Member Functions inherited from eZ\Publish\API\Repository\Values\ValueObject
 getProperties ($dynamicProperties=array())
 Function where list of properties are returned. More...
 

Member Function Documentation

eZ\Publish\API\Repository\Values\Content\Relation::getDestinationContentInfo ( )
abstract

the content of the destination content of the relation

Returns
eZ\Publish\API\Repository\Values\Content\Relation::getSourceContentInfo ( )
abstract

the content of the source content of the relation

Returns

Member Data Documentation

eZ\Publish\API\Repository\Values\Content\Relation::$id
protected
eZ\Publish\API\Repository\Values\Content\Relation::$sourceFieldDefinitionIdentifier
protected
eZ\Publish\API\Repository\Values\Content\Relation::$type
protected
const eZ\Publish\API\Repository\Values\Content\Relation::COMMON = 1
const eZ\Publish\API\Repository\Values\Content\Relation::EMBED = 2
read int $type The relation type bitmask containing one or more of Relation::COMMON Relation::EMBED Relation::LINK eZ\Publish\Core\Repository\Values\Content\Relation::FIELD = 8
const eZ\Publish\API\Repository\Values\Content\Relation::LINK = 4

The documentation for this class was generated from the following files: