PHP Class eZ\Publish\Core\FieldType\RichText\RichTextStorage

Inheritance: extends eZ\Publish\Core\FieldType\GatewayBasedStorage
Mostrar archivo Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$logger Psr\Log\LoggerInterface

Public Methods

Method Description
__construct ( array $gateways = [], Psr\Log\LoggerInterface $logger = null )
deleteFieldData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, array $fieldIds, array $context )
getFieldData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field, array $context ) Modifies $field if needed, using external data (like for Urls).
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

__construct() public method

public __construct ( array $gateways = [], Psr\Log\LoggerInterface $logger = null )
$gateways array
$logger Psr\Log\LoggerInterface

deleteFieldData() public method

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

getFieldData() public method

Modifies $field if needed, using external data (like for Urls).
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

Property Details

$logger protected_oe property

protected LoggerInterface,Psr\Log $logger
return Psr\Log\LoggerInterface