PHP Class eZ\Publish\Core\Repository\Values\Content\TranslationValues

Inheritance: extends eZ\Publish\API\Repository\Values\Content\TranslationValues
Show file Open project: ezsystems/ezpublish-kernel

Public Properties

Property Type Description
$fields FieldCollection

Public Methods

Method Description
setField ( string $fieldDefIdentifier, mixed $value ) Adds a translated field to the field collection in the given language This method is also be implemented by ArrayAccess so that $fields[$fieldDefIdentifier] = $value is an equivalent call.

Method Details

setField() public method

Adds a translated field to the field collection in the given language This method is also be implemented by ArrayAccess so that $fields[$fieldDefIdentifier] = $value is an equivalent call.
public setField ( string $fieldDefIdentifier, mixed $value )
$fieldDefIdentifier string the identifier of the field definition
$value mixed Either a plain value which is understandable by the field type or an instance of a Value class provided by the field type

Property Details

$fields public property

public FieldCollection $fields
return FieldCollection