PHP Класс eZ\Publish\Core\REST\Common\FieldTypeProcessor

Показать файл Открыть проект

Открытые методы

Метод Описание
postProcessFieldSettingsHash ( mixed $outgoingSettingsHash ) : mixed Perform manipulations on a received $outgoingSettingsHash.
postProcessValidatorConfigurationHash ( mixed $outgoingValidatorConfigurationHash ) : mixed Perform manipulations on a received $outgoingValidatorConfigurationHash.
postProcessValueHash ( mixed $outgoingValueHash ) : mixed Perform manipulations on an a generated $outgoingValueHash.
preProcessFieldSettingsHash ( mixed $incomingSettingsHash ) : mixed Perform manipulations on a received $incomingSettingsHash.
preProcessValidatorConfigurationHash ( mixed $incomingValidatorConfigurationHash ) : mixed Perform manipulations on a received $incomingValidatorConfigurationHash.
preProcessValueHash ( mixed $incomingValueHash ) : mixed Perform manipulations on a received $incomingValueHash.

Описание методов

postProcessFieldSettingsHash() публичный Метод

This method is called by the REST output visitors to allow a field type to post process the given $outgoingSettingsHash, which was previously generated using {@link eZ\Publish\SPI\FieldType\FieldType::fieldSettingsToHash()}, before it is sent to the client. The return value of this method replaces $outgoingSettingsHash and must obey to the same rules as the original $outgoingSettingsHash.
См. также: eZ\Publish\Core\REST\Common\Output\FieldTypeSerializer
public postProcessFieldSettingsHash ( mixed $outgoingSettingsHash ) : mixed
$outgoingSettingsHash mixed
Результат mixed Post processed hash

postProcessValidatorConfigurationHash() публичный Метод

This method is called by the REST output visitors to allow a field type to post process the given $outgoingValidatorConfigurationHash, which was previously generated using {@link eZ\Publish\SPI\FieldType\FieldType::validatorConfigurationToHash()}, before it is sent to the client. The return value of this method replaces $outgoingValidatorConfigurationHash and must obey to the same rules as the original $outgoingValidatorConfigurationHash.
См. также: eZ\Publish\Core\REST\Common\Output\FieldTypeSerializer
public postProcessValidatorConfigurationHash ( mixed $outgoingValidatorConfigurationHash ) : mixed
$outgoingValidatorConfigurationHash mixed
Результат mixed Post processed hash

postProcessValueHash() публичный Метод

This method is called by the REST output visitors to allow a field type to post process the given $outgoingValueHash, which was previously generated using {@link eZ\Publish\SPI\FieldType\FieldType::toHash()}, before it is sent to the client. The return value of this method replaces $outgoingValueHash and must obey to the same rules as the original $outgoingValueHash.
См. также: eZ\Publish\Core\REST\Common\Output\FieldTypeSerializer
public postProcessValueHash ( mixed $outgoingValueHash ) : mixed
$outgoingValueHash mixed
Результат mixed Post processed hash

preProcessFieldSettingsHash() публичный Метод

This method is called by the REST input parsers to allow a field type to pre process the given $incomingSettingsHash before it is handled by {@link eZ\Publish\SPI\FieldType\FieldType::fieldSettingsFromHash()}. The $incomingSettingsHash can be expected to conform to the rules that need to apply to hashes accepted by fieldSettingsFromHash(). The return value of this method replaces the $incomingSettingsHash.
См. также: eZ\Publish\Core\REST\Common\Input\FieldTypeParser
public preProcessFieldSettingsHash ( mixed $incomingSettingsHash ) : mixed
$incomingSettingsHash mixed
Результат mixed Pre processed hash

preProcessValidatorConfigurationHash() публичный Метод

This method is called by the REST input parsers to allow a field type to pre process the given $incomingValidatorConfigurationHash before it is handled by {@link eZ\Publish\SPI\FieldType\FieldType::validatorConfigurationFromHash()}. The $incomingValidatorConfigurationHash can be expected to conform to the rules that need to apply to hashes accepted by validatorConfigurationFromHash(). The return value of this method replaces the $incomingValidatorConfigurationHash.
См. также: eZ\Publish\Core\REST\Common\Input\FieldTypeParser
public preProcessValidatorConfigurationHash ( mixed $incomingValidatorConfigurationHash ) : mixed
$incomingValidatorConfigurationHash mixed
Результат mixed Pre processed hash

preProcessValueHash() публичный Метод

This method is called by the REST input parsers to allow a field type to pre process the given $incomingValueHash before it is handled by {@link eZ\Publish\SPI\FieldType\FieldType::fromHash()}. The $incomingValueHash can be expected to conform to the rules that need to apply to hashes accepted by fromHash(). The return value of this method replaces the $incomingValueHash.
См. также: eZ\Publish\Core\REST\Common\Input\FieldTypeParser
public preProcessValueHash ( mixed $incomingValueHash ) : mixed
$incomingValueHash mixed
Результат mixed Pre processed hash