PHP Class eZ\Publish\Core\FieldType\MapLocation\MapLocationStorage

Inheritance: extends eZ\Publish\Core\FieldType\GatewayBasedStorage
ファイルを表示 Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
deleteFieldData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, array $fieldIds, array $context ) : boolean
getFieldData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field, array $context ) Populates $field value property based on the external data.
getIndexData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field, array $context )
hasFieldData ( ) : boolean Checks if field type has external data to deal with.
storeFieldData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field, array $context )

Method Details

deleteFieldData() public method

public deleteFieldData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, array $fieldIds, array $context ) : boolean
$versionInfo eZ\Publish\SPI\Persistence\Content\VersionInfo
$fieldIds array
$context array
return boolean

getFieldData() public method

$field->value is a {@link eZ\Publish\SPI\Persistence\Content\FieldValue} object. This value holds the data as a {@link eZ\Publish\Core\FieldType\Value} based object, according to the field type (e.g. for TextLine, it will be a {@link eZ\Publish\Core\FieldType\TextLine\Value} object).
public getFieldData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field, array $context )
$versionInfo eZ\Publish\SPI\Persistence\Content\VersionInfo
$field eZ\Publish\SPI\Persistence\Content\Field
$context array

getIndexData() public method

public getIndexData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field, array $context )
$versionInfo eZ\Publish\SPI\Persistence\Content\VersionInfo
$field eZ\Publish\SPI\Persistence\Content\Field
$context array

hasFieldData() public method

Checks if field type has external data to deal with.
public hasFieldData ( ) : boolean
return boolean

storeFieldData() public method

See also: eZ\Publish\SPI\FieldType\FieldStorage
public storeFieldData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field, array $context )
$versionInfo eZ\Publish\SPI\Persistence\Content\VersionInfo
$field eZ\Publish\SPI\Persistence\Content\Field
$context array