Class

eZ\Publish\Core\FieldType\Relation\Value

class Value extends Value

Value for Relation field type.

Properties

mixed|null $destinationContentId Related content.

Methods

string __toString()

Returns the related content's name.

__construct(mixed $destinationContentId = null)

Construct a new Value object and initialize it $destinationContent.

Details

at line 42
public string __toString()

Returns the related content's name.

Return Value

string

See also

\eZ\Publish\Core\FieldType\Value

at line 32
public __construct(mixed $destinationContentId = null)

Construct a new Value object and initialize it $destinationContent.

Parameters

mixed $destinationContentId Content id the relation is to