PHP Class eZ\Publish\Core\FieldType\BinaryFile\BinaryFileStorage\Gateway\LegacyStorage

Inheritance: extends eZ\Publish\Core\FieldType\BinaryBase\BinaryBaseStorage\Gateway\LegacyStorage
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes protégées

Méthode Description
getPropertyMapping ( ) : array Returns a column to property mapping for the storage table.
getStorageTable ( ) : string Returns the table name to store data in.
setFetchColumns ( eZ\Publish\Core\Persistence\Database\SelectQuery $selectQuery, integer $fieldId, integer $versionNo ) Set columns to be fetched from the database.
setInsertColumns ( eZ\Publish\Core\Persistence\Database\InsertQuery $insertQuery, eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field ) Sets the required insert columns to $selectQuery.

Method Details

getPropertyMapping() protected méthode

Returns a column to property mapping for the storage table.
protected getPropertyMapping ( ) : array
Résultat array

getStorageTable() protected méthode

Returns the table name to store data in.
protected getStorageTable ( ) : string
Résultat string

setFetchColumns() protected méthode

This method is intended to be overwritten by derived classes in order to add additional columns to be fetched from the database. Please do not forget to call the parent when overwriting this method.
protected setFetchColumns ( eZ\Publish\Core\Persistence\Database\SelectQuery $selectQuery, integer $fieldId, integer $versionNo )
$selectQuery eZ\Publish\Core\Persistence\Database\SelectQuery
$fieldId integer
$versionNo integer

setInsertColumns() protected méthode

This method is intended to be overwritten by derived classes in order to add additional columns to be set in the database. Please do not forget to call the parent when overwriting this method.
protected setInsertColumns ( eZ\Publish\Core\Persistence\Database\InsertQuery $insertQuery, eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field )
$insertQuery eZ\Publish\Core\Persistence\Database\InsertQuery
$versionInfo eZ\Publish\SPI\Persistence\Content\VersionInfo
$field eZ\Publish\SPI\Persistence\Content\Field