Class

eZ\Publish\Core\FieldType\MapLocation\MapLocationStorage\Gateway

abstract class Gateway extends StorageGateway

MapLocation Field Type external storage gateway.

Methods

bool storeFieldData(VersionInfo $versionInfo, Field $field)

Stores the data stored in the given $field.

array getFieldData(VersionInfo $versionInfo, Field $field)

Sets the loaded field data into $field->externalData.

deleteFieldData(VersionInfo $versionInfo, array $fieldIds)

Deletes the data for all given $fieldIds.

Details

at line 31
abstract public bool storeFieldData(VersionInfo $versionInfo, Field $field)

Stores the data stored in the given $field.

Potentially rewrites data in $field and returns true, if the $field needs to be updated in the database.

Parameters

VersionInfo $versionInfo
Field $field

Return Value

bool If restoring of the internal field data is required

at line 41
abstract public array getFieldData(VersionInfo $versionInfo, Field $field)

Sets the loaded field data into $field->externalData.

Parameters

VersionInfo $versionInfo
Field $field

Return Value

array

at line 49
abstract public deleteFieldData(VersionInfo $versionInfo, array $fieldIds)

Deletes the data for all given $fieldIds.

Parameters

VersionInfo $versionInfo
array $fieldIds