eZPublishCommunityProject  2012.12
eZ\Publish\Core\FieldType\Relation\RelationStorage\Gateway Class Reference
+ Inheritance diagram for eZ\Publish\Core\FieldType\Relation\RelationStorage\Gateway:
+ Collaboration diagram for eZ\Publish\Core\FieldType\Relation\RelationStorage\Gateway:

Public Member Functions

 deleteFieldData (VersionInfo $versionInfo, array $fieldId, array $context)
 Deletes stored external data. More...
 
 getFieldData (Field $field)
 Sets a loaded URL, if one is stored for the given field. More...
 
 storeFieldData (VersionInfo $versionInfo, Field $field)
 Stores a Relation based on the given field data. More...
 
- Public Member Functions inherited from eZ\Publish\Core\FieldType\StorageGateway
 setConnection ($connection)
 Sets the data storage connection to use. More...
 

Member Function Documentation

eZ\Publish\Core\FieldType\Relation\RelationStorage\Gateway::deleteFieldData ( VersionInfo  $versionInfo,
array  $fieldId,
array  $context 
)
abstract

Deletes stored external data.

Parameters
VersionInfo$versionInfo
array$fieldIdArray of field Ids
array$context
Todo:
Remove $context, since it is inherent to the Gateway
Returns
boolean
eZ\Publish\Core\FieldType\Relation\RelationStorage\Gateway::getFieldData ( Field  $field)
abstract

Sets a loaded URL, if one is stored for the given field.

Parameters
Field$field
Returns
void
eZ\Publish\Core\FieldType\Relation\RelationStorage\Gateway::storeFieldData ( VersionInfo  $versionInfo,
Field  $field 
)
abstract

Stores a Relation based on the given field data.

Parameters
VersionInfo$versionInfo
Field$field
Returns
boolean

The documentation for this class was generated from the following file: