TYPO3
7.6
|
Public Member Functions | |
convertFrom ($source, $targetType, array $convertedChildProperties=array(),\TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface $configuration=null) | |
Public Member Functions inherited from AbstractTypeConverter | |
injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager) | |
getSupportedSourceTypes () | |
getSupportedTargetType () | |
getTargetTypeForSource ($source, $originalTargetType,\TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface $configuration=null) | |
getPriority () | |
canConvertFrom ($source, $targetType) | |
getSourceChildPropertiesToBeConverted ($source) | |
getTypeOfChildProperty ($targetType, $propertyName,\TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface $configuration) | |
Public Member Functions inherited from TypeConverterInterface | |
getTargetTypeForSource ($source, $originalTargetType, PropertyMappingConfigurationInterface $configuration=null) | |
Protected Attributes | |
$sourceTypes = array('float', 'integer', 'string') | |
$targetType = 'float' | |
$priority = 1 | |
Protected Attributes inherited from AbstractTypeConverter | |
$sourceTypes = array() | |
$targetType = '' | |
$priority | |
$objectManager | |
Converter which transforms a simple type to a float.
This is basically done by simply casting it.
Definition at line 30 of file FloatConverter.php.
convertFrom | ( | $source, | |
$targetType, | |||
array | $convertedChildProperties = array() , |
||
\TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface | $configuration = null |
||
) |
Actually convert from $source to $targetType, by doing a typecast.
mixed | $source | |
string | $targetType | |
array | $convertedChildProperties | |
\TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface | $configuration |
Implements TypeConverterInterface.
Definition at line 57 of file FloatConverter.php.
|
protected |
Definition at line 45 of file FloatConverter.php.
|
protected |
Definition at line 35 of file FloatConverter.php.
|
protected |
Definition at line 40 of file FloatConverter.php.