‪TYPO3CMS  9.5
TypeConverterInterface.php
Go to the documentation of this file.
1 <?php
3 
4 /*
5  * This file is part of the TYPO3 CMS project.
6  *
7  * It is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License, either version 2
9  * of the License, or any later version.
10  *
11  * For the full copyright and license information, please read the
12  * LICENSE.txt file that was distributed with this source code.
13  *
14  * The TYPO3 project - inspiring people to share!
15  */
16 
23 {
30  public function ‪getSupportedSourceTypes();
31 
38  public function ‪getSupportedTargetType();
39 
48  public function ‪getTargetTypeForSource($source, $originalTargetType, ‪PropertyMappingConfigurationInterface $configuration = null);
49 
55  public function ‪getPriority();
56 
65  public function ‪canConvertFrom($source, $targetType);
66 
74  public function ‪getSourceChildPropertiesToBeConverted($source);
75 
84  public function ‪getTypeOfChildProperty($targetType, $propertyName, \‪TYPO3\CMS\‪Extbase\Property\‪PropertyMappingConfigurationInterface $configuration);
85 
104  public function ‪convertFrom($source, $targetType, array $convertedChildProperties = [], \‪TYPO3\CMS\‪Extbase\Property\‪PropertyMappingConfigurationInterface $configuration = null);
105 }
‪TYPO3\CMS\Extbase\Property\TypeConverterInterface\getTypeOfChildProperty
‪string getTypeOfChildProperty($targetType, $propertyName, \TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface $configuration)
‪TYPO3\CMS\Extbase\Annotation
Definition: IgnoreValidation.php:4
‪TYPO3\CMS\Extbase\Property\TypeConverterInterface
Definition: TypeConverterInterface.php:23
‪TYPO3
‪TYPO3\CMS\Extbase\Property\TypeConverterInterface\getSupportedTargetType
‪string getSupportedTargetType()
‪TYPO3\CMS\Extbase\Property
‪TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface
Definition: PropertyMappingConfigurationInterface.php:21
‪TYPO3\CMS\Extbase\Property\TypeConverterInterface\getSupportedSourceTypes
‪array< string > getSupportedSourceTypes()
‪TYPO3\CMS\Extbase\Error\Error
Definition: Error.php:22
‪TYPO3\CMS\Extbase\Property\TypeConverterInterface\convertFrom
‪mixed TYPO3 CMS Extbase Error Error convertFrom($source, $targetType, array $convertedChildProperties=[], \TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface $configuration=null)
‪TYPO3\CMS\Extbase\Property\TypeConverterInterface\getSourceChildPropertiesToBeConverted
‪array< mixed > getSourceChildPropertiesToBeConverted($source)
‪TYPO3\CMS\Extbase\Property\TypeConverterInterface\getTargetTypeForSource
‪string getTargetTypeForSource($source, $originalTargetType, PropertyMappingConfigurationInterface $configuration=null)
‪TYPO3\CMS\Extbase\Property\TypeConverterInterface\getPriority
‪int getPriority()
‪TYPO3\CMS\Extbase\Property\TypeConverterInterface\canConvertFrom
‪bool canConvertFrom($source, $targetType)