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('boolean', 'string') | |
$targetType = 'boolean' | |
$priority = 1 | |
Protected Attributes inherited from AbstractTypeConverter | |
$sourceTypes = array() | |
$targetType = '' | |
$priority | |
$objectManager | |
Converter which transforms simple types to a boolean, by simply casting it.
Definition at line 28 of file BooleanConverter.php.
convertFrom | ( | $source, | |
$targetType, | |||
array | $convertedChildProperties = array() , |
||
\TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface | $configuration = null |
||
) |
Actually convert from $source to $targetType
string | $source | |
string | $targetType | |
array | $convertedChildProperties | |
\TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface | $configuration |
Implements TypeConverterInterface.
Definition at line 55 of file BooleanConverter.php.
|
protected |
Definition at line 43 of file BooleanConverter.php.
|
protected |
Definition at line 33 of file BooleanConverter.php.
|
protected |
Definition at line 38 of file BooleanConverter.php.