eZPublishCommunityProject  2013.4
eZ\Publish\Core\FieldType\XmlText\XmlTextStorage Class Reference
+ Inheritance diagram for eZ\Publish\Core\FieldType\XmlText\XmlTextStorage:
+ Collaboration diagram for eZ\Publish\Core\FieldType\XmlText\XmlTextStorage:

Public Member Functions

 deleteFieldData (VersionInfo $versionInfo, array $fieldIds, array $context)
 Deletes field data for all $fieldIds in the version identified by $versionInfo. More...
 
 getFieldData (VersionInfo $versionInfo, Field $field, array $context)
 Modifies $field if needed, using external data (like for Urls) More...
 
 getIndexData (VersionInfo $versionInfo, Field $field, array $context)
 Get index data for external data for search backend. More...
 
 hasFieldData ()
 Checks if field type has external data to deal with. More...
 
 storeFieldData (VersionInfo $versionInfo, Field $field, array $context)
 
- Public Member Functions inherited from eZ\Publish\Core\FieldType\GatewayBasedStorage
 __construct (array $gateways=array())
 Construct from gateways. More...
 
 addGateway ($identifier, StorageGateway $gateway)
 Adds a storage $gateway assigned to the given $identifier. More...
 
 copyLegacyField (VersionInfo $versionInfo, Field $field, Field $originalField, array $context)
 This method is used exclusively by Legacy Storage to copy external data of existing field in main language to the untranslatable field not passed in create or update struct, but created implicitly in storage layer. More...
 

Additional Inherited Members

- Protected Member Functions inherited from eZ\Publish\Core\FieldType\GatewayBasedStorage
 getGateway (array $context)
 Retrieve the fitting gateway, base on the identifier in $context. More...
 
- Protected Attributes inherited from eZ\Publish\Core\FieldType\GatewayBasedStorage
 $gateways
 

Member Function Documentation

eZ\Publish\Core\FieldType\XmlText\XmlTextStorage::deleteFieldData ( VersionInfo  $versionInfo,
array  $fieldIds,
array  $context 
)

Deletes field data for all $fieldIds in the version identified by $versionInfo.

Parameters
\eZ\Publish\SPI\Persistence\Content\VersionInfo$versionInfo
array$fieldIdsArray of field IDs
array$context
Returns
boolean

Implements eZ\Publish\SPI\FieldType\FieldStorage.

eZ\Publish\Core\FieldType\XmlText\XmlTextStorage::getFieldData ( VersionInfo  $versionInfo,
Field  $field,
array  $context 
)

Modifies $field if needed, using external data (like for Urls)

Parameters
\eZ\Publish\SPI\Persistence\Content\VersionInfo$versionInfo
\eZ\Publish\SPI\Persistence\Content\Field$field
array$context
Returns
void

Implements eZ\Publish\SPI\FieldType\FieldStorage.

eZ\Publish\Core\FieldType\XmlText\XmlTextStorage::getIndexData ( VersionInfo  $versionInfo,
Field  $field,
array  $context 
)

Get index data for external data for search backend.

Parameters
\eZ\Publish\SPI\Persistence\Content\Field$field
array$context
Returns
[]

Implements eZ\Publish\SPI\FieldType\FieldStorage.

eZ\Publish\Core\FieldType\XmlText\XmlTextStorage::hasFieldData ( )

Checks if field type has external data to deal with.

Returns
boolean

Implements eZ\Publish\SPI\FieldType\FieldStorage.

eZ\Publish\Core\FieldType\XmlText\XmlTextStorage::storeFieldData ( VersionInfo  $versionInfo,
Field  $field,
array  $context 
)

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