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

Public Member Functions

 deleteFieldData (VersionInfo $versionInfo, array $fieldId, array $context)
 
 getFieldData (Field $field)
 
 setConnection ($dbHandler)
 Set database handler for this gateway. More...
 
 storeFieldData (VersionInfo $versionInfo, Field $field)
 
- Public Member Functions inherited from eZ\Publish\Core\FieldType\Relation\RelationStorage\Gateway
 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...
 

Public Attributes

const TABLE = "ezcontentobject_link"
 

Protected Member Functions

 getConnection ()
 Returns the active connection. More...
 

Protected Attributes

 $dbHandler
 

Member Function Documentation

eZ\Publish\Core\FieldType\Relation\RelationStorage\Gateway\LegacyStorage::deleteFieldData ( VersionInfo  $versionInfo,
array  $fieldId,
array  $context 
)
See Also
eZ\Publish\Core\FieldType\Relation\RelationStorage\Gateway\LegacyStorage::getConnection ( )
protected

Returns the active connection.

Exceptions
\RuntimeExceptionif no connection has been set, yet.
Returns

Referenced by eZ\Publish\Core\FieldType\RelationList\RelationListStorage\Gateway\LegacyStorage\storeFieldData(), and eZ\Publish\Core\FieldType\Relation\RelationStorage\Gateway\LegacyStorage\storeFieldData().

eZ\Publish\Core\FieldType\Relation\RelationStorage\Gateway\LegacyStorage::getFieldData ( Field  $field)
See Also
eZ\Publish\Core\FieldType\Relation\RelationStorage\Gateway\LegacyStorage::setConnection (   $dbHandler)

Set database handler for this gateway.

Parameters
mixed$dbHandler
Returns
void
Exceptions
\RuntimeExceptionif $dbHandler is not an instance of eZ\Publish\Core\Persistence\Legacy\EzcDbHandler
eZ\Publish\Core\FieldType\Relation\RelationStorage\Gateway\LegacyStorage::storeFieldData ( VersionInfo  $versionInfo,
Field  $field 
)
See Also

Member Data Documentation

const eZ\Publish\Core\FieldType\Relation\RelationStorage\Gateway\LegacyStorage::TABLE = "ezcontentobject_link"

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