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

Public Member Functions

 toFieldDefinition (StorageFieldDefinition $storageDef, FieldDefinition $fieldDef)
 Converts field definition data in $storageDef into $fieldDef. More...
 
 toStorageFieldDefinition (FieldDefinition $fieldDef, StorageFieldDefinition $storageDef)
 Converts field definition data in $fieldDef into $storageFieldDef. More...
 
- Public Member Functions inherited from eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\BinaryFile
 getIndexColumn ()
 Returns the name of the index column in the attribute table. More...
 
 toFieldDefinition (StorageFieldDefinition $storageDef, FieldDefinition $fieldDef)
 Converts field definition data in $storageDef into $fieldDef. More...
 
 toFieldValue (StorageFieldValue $value, FieldValue $fieldValue)
 Converts data from $value to $fieldValue. More...
 
 toStorageFieldDefinition (FieldDefinition $fieldDef, StorageFieldDefinition $storageDef)
 Converts field definition data in $fieldDef into $storageFieldDef. More...
 
 toStorageValue (FieldValue $value, StorageFieldValue $storageFieldValue)
 Converts data from $value to $storageFieldValue. More...
 

Static Public Member Functions

static create ()
 Factory for current class. More...
 
- Static Public Member Functions inherited from eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\BinaryFile
static create ()
 Factory for current class. More...
 

Member Function Documentation

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

Factory for current class.

Note
Class should instead be configured as service if it gains dependencies.
Returns
Image
eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\Media::toFieldDefinition ( StorageFieldDefinition  $storageDef,
FieldDefinition  $fieldDef 
)

Converts field definition data in $storageDef into $fieldDef.

Parameters
\eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldDefinition$storageDef
\eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition$fieldDef

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

eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\Media::toStorageFieldDefinition ( FieldDefinition  $fieldDef,
StorageFieldDefinition  $storageDef 
)

Converts field definition data in $fieldDef into $storageFieldDef.

Parameters
\eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition$fieldDef
\eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldDefinition$storageDef

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


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