Class

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

class LegacyStorage extends 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.

__construct(DatabaseHandler $dbHandler)

Details

at line 56
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 162
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 235
public deleteFieldData(VersionInfo $versionInfo, array $fieldIds)

Deletes the data for all given $fieldIds.

Parameters

VersionInfo $versionInfo
array $fieldIds

at line 26
public __construct(DatabaseHandler $dbHandler)

Parameters

DatabaseHandler $dbHandler