Class

eZ\Publish\Core\REST\Client\Values\Content\Relation

class Relation extends Relation

Implementation of the {@link \eZ\Publish\API\Repository\Values\Content\Relation} class.

Constants

COMMON

The relation type COMMON is a general relation between object set by a user.

EMBED

the relation type EMBED is set for a relation which is anchored as embedded link in an attribute value.

LINK

the relation type LINK is set for a relation which is anchored as link in an attribute value.

FIELD

the relation type FIELD is set for a relation which is part of an relation attribute value.

Methods

ContentInfo getSourceContentInfo()

the content of the source content of the relation.

ContentInfo getDestinationContentInfo()

the content of the destination content of the relation.

Details

at line 42
public ContentInfo getSourceContentInfo()

the content of the source content of the relation.

Return Value

ContentInfo

at line 52
public ContentInfo getDestinationContentInfo()

the content of the destination content of the relation.

Return Value

ContentInfo