eZPublishCommunityProject  2013.4
eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\XmlText Class Reference
+ Inheritance diagram for eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\XmlText:
+ Collaboration diagram for eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\XmlText:

Public Member Functions

 getIndexColumn ()
 Returns the name of the index column in the attribute table. More...
 
 toFieldDefinition (StorageFieldDefinition $storageDefinition, FieldDefinition $fieldDefinition)
 Converts field definition data from $storageDefinition into $fieldDefinition. More...
 
 toFieldValue (StorageFieldValue $value, FieldValue $fieldValue)
 Converts data from $value to $fieldValue. More...
 
 toStorageFieldDefinition (FieldDefinition $fieldDefinition, StorageFieldDefinition $storageDefinition)
 Converts field definition data from $fieldDefinition into $storageFieldDefinition. More...
 
 toStorageValue (FieldValue $value, StorageFieldValue $storageFieldValue)
 Converts data from $value to $storageFieldValue. More...
 

Static Public Member Functions

static create ()
 Factory for current class. More...
 

Member Function Documentation

static eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\XmlText::create ( )
static

Factory for current class.

Note
Class should instead be configured as service if it gains dependencies.
Returns
XmlText
eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\XmlText::getIndexColumn ( )

Returns the name of the index column in the attribute table.

Returns the name of the index column the datatype uses, which is either "sort_key_int" or "sort_key_string". This column is then used for filtering and sorting for this type.

Returns
string

Implements eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter.

eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\XmlText::toFieldDefinition ( StorageFieldDefinition  $storageDefinition,
FieldDefinition  $fieldDefinition 
)

Converts field definition data from $storageDefinition into $fieldDefinition.

Parameters
\eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldDefinition$storageDefinition
\eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition$fieldDefinition

Implements eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter.

eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\XmlText::toFieldValue ( StorageFieldValue  $value,
FieldValue  $fieldValue 
)

Converts data from $value to $fieldValue.

Parameters
\eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldValue$value
\eZ\Publish\SPI\Persistence\Content\FieldValue$fieldValue

Implements eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter.

eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\XmlText::toStorageFieldDefinition ( FieldDefinition  $fieldDefinition,
StorageFieldDefinition  $storageDefinition 
)

Converts field definition data from $fieldDefinition into $storageFieldDefinition.

Parameters
\eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition$fieldDefinition
\eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldDefinition$storageDefinition

Implements eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter.

eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\XmlText::toStorageValue ( FieldValue  $value,
StorageFieldValue  $storageFieldValue 
)

Converts data from $value to $storageFieldValue.

Parameters
\eZ\Publish\SPI\Persistence\Content\FieldValue$value
\eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldValue$storageFieldValue

Implements eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter.


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