FieldTypeProcessor
FieldTypeProcessor.
Methods¶
postProcessFieldSettingsHash() ¶
Perform manipulations on a received $outgoingSettingsHash.
|
|
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 , 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.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$outgoingSettingsHash | mixed | - | - |
Return values
mixed
Post processed hash
postProcessValidatorConfigurationHash() ¶
Perform manipulations on a received $outgoingValidatorConfigurationHash.
|
|
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 , 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.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$outgoingValidatorConfigurationHash | mixed | - | - |
Return values
mixed
Post processed hash
postProcessValueHash() ¶
Perform manipulations on an a generated $outgoingValueHash.
|
|
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 , 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.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$outgoingValueHash | mixed | - | - |
Return values
mixed
Post processed hash
preProcessFieldSettingsHash() ¶
Perform manipulations on a received $incomingSettingsHash.
|
|
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 . 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.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$incomingSettingsHash | mixed | - | - |
Return values
mixed
Pre processed hash
preProcessValidatorConfigurationHash() ¶
Perform manipulations on a received $incomingValidatorConfigurationHash.
|
|
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 . 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.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$incomingValidatorConfigurationHash | mixed | - | - |
Return values
mixed
Pre processed hash
preProcessValueHash() ¶
Perform manipulations on a received $incomingValueHash.
|
|
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 . 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.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$incomingValueHash | mixed | - | - |
Return values
mixed
Pre processed hash