Method | Description | |
---|---|---|
__construct ( eZ\Publish\Core\IO\IOServiceInterface $imageIoService, eZ\Publish\Core\IO\UrlRedecorator $urlRedecorator ) | ||
getIndexColumn ( ) : string | Returns the name of the index column in the attribute table. | |
toFieldDefinition ( |
Converts field definition data in $storageDef into $fieldDef. | |
toFieldValue ( |
Converts data from $value to $fieldValue. | |
toStorageFieldDefinition ( eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDef, |
Converts field definition data in $fieldDef into $storageFieldDef. | |
toStorageValue ( eZ\Publish\SPI\Persistence\Content\FieldValue $value, |
Converts data from $value to $storageFieldValue. |
Method | Description | |
---|---|---|
createEmptyLegacyXml ( array $contentMetaData ) : string | Creates an XML considered "empty" by the legacy storage. | |
createLegacyXml ( array $data ) : string | Returns the XML required by the legacy database. | |
fillXml ( array $imageData, array $pathInfo, integer $timestamp ) : string | Fill the XML template with the data provided. | |
parseLegacyXml ( string $xml ) : array | Parses the XML from the legacy database. |
public __construct ( eZ\Publish\Core\IO\IOServiceInterface $imageIoService, eZ\Publish\Core\IO\UrlRedecorator $urlRedecorator ) | ||
$imageIoService | eZ\Publish\Core\IO\IOServiceInterface | |
$urlRedecorator | eZ\Publish\Core\IO\UrlRedecorator |
protected createEmptyLegacyXml ( array $contentMetaData ) : string | ||
$contentMetaData | array | |
return | string |
protected createLegacyXml ( array $data ) : string | ||
$data | array | |
return | string |
public getIndexColumn ( ) : string | ||
return | string |
protected parseLegacyXml ( string $xml ) : array | ||
$xml | string | |
return | array |
public toFieldDefinition ( |
||
$storageDef | ||
$fieldDef | eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition |
public toFieldValue ( |
||
$value | ||
$fieldValue | eZ\Publish\SPI\Persistence\Content\FieldValue |
public toStorageFieldDefinition ( eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDef, |
||
$fieldDef | eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition | |
$storageDef |
public toStorageValue ( eZ\Publish\SPI\Persistence\Content\FieldValue $value, |
||
$value | eZ\Publish\SPI\Persistence\Content\FieldValue | |
$storageFieldValue |