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

Public Member Functions

 setField ($fieldDefIdentifier, $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. More...
 
- Public Member Functions inherited from eZ\Publish\API\Repository\Values\Content\TranslationValues
 setField ($fieldDefIdentifier, $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. 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

 $fields
 

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\Core\Repository\Values\Content\TranslationValues::setField (   $fieldDefIdentifier,
  $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.

Parameters
string$fieldDefIdentifierthe identifier of the field definition
mixed$valueEither a plain value which is understandable by the field type or an instance of a Value class provided by the field type

Member Data Documentation

eZ\Publish\Core\Repository\Values\Content\TranslationValues::$fields

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