| 1 | <?php |
||
| 20 | class TranslationValues extends APITranslationValues |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var FieldCollection |
||
| 24 | */ |
||
| 25 | public $fields; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Adds a translated field to the field collection in the given language |
||
| 29 | * This method is also be implemented by ArrayAccess so that |
||
| 30 | * $fields[$fieldDefIdentifier] = $value is an equivalent call. |
||
| 31 | * |
||
| 32 | * @param string $fieldDefIdentifier the identifier of the field definition |
||
| 33 | * @param mixed $value Either a plain value which is understandable by the field type or an instance of a Value class provided by the field type |
||
| 34 | */ |
||
| 35 | public function setField($fieldDefIdentifier, $value) |
||
| 39 | } |
||
| 40 |