‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Mvc\Controller\MvcPropertyMappingConfiguration Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Mvc\Controller\MvcPropertyMappingConfiguration:
TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface

Public Member Functions

 allowCreationForSubProperty ($propertyPath)
 
 allowModificationForSubProperty ($propertyPath)
 
 setTargetTypeForSubProperty ($propertyPath, $targetType)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration
bool shouldMap ($propertyName)
 
bool shouldSkip ($propertyName)
 
TYPO3 CMS Extbase Property PropertyMappingConfiguration allowAllProperties ()
 
TYPO3 CMS Extbase Property PropertyMappingConfiguration allowProperties ()
 
TYPO3 CMS Extbase Property PropertyMappingConfiguration skipProperties ()
 
TYPO3 CMS Extbase Property PropertyMappingConfiguration allowAllPropertiesExcept ()
 
TYPO3 CMS Extbase Property PropertyMappingConfiguration skipUnknownProperties ()
 
bool shouldSkipUnknownProperties ()
 
TYPO3 CMS Extbase Property PropertyMappingConfigurationInterface getConfigurationFor ($propertyName)
 
string getTargetPropertyName ($sourcePropertyName)
 
mixed getConfigurationValue ($typeConverterClassName, $key)
 
TYPO3 CMS Extbase Property PropertyMappingConfiguration setMapping ($sourcePropertyName, $targetPropertyName)
 
TYPO3 CMS Extbase Property PropertyMappingConfiguration setTypeConverterOptions ($typeConverter, array $options)
 
TYPO3 CMS Extbase Property PropertyMappingConfiguration setTypeConverterOption ($typeConverter, $optionKey, $optionValue)
 
TYPO3 CMS Extbase Property PropertyMappingConfiguration forProperty ($propertyPath)
 
TYPO3 CMS Extbase Property PropertyMappingConfiguration traverseProperties (array $splittedPropertyPath)
 
TYPO3 CMS Extbase Property TypeConverterInterface null getTypeConverter ()
 
TYPO3 CMS Extbase Property PropertyMappingConfiguration setTypeConverter (TypeConverterInterface $typeConverter)
 

Additional Inherited Members

- ‪Public Attributes inherited from ‪TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration
const PROPERTY_PATH_PLACEHOLDER = '*'
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration
array getTypeConvertersWithParentClasses ($typeConverter)
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration
array $configuration
 
TYPO3 CMS Extbase Property PropertyMappingConfigurationInterface[] $subConfigurationForProperty = array( )
 
array $mapping = array( )
 
TYPO3 CMS Extbase Property TypeConverterInterface $typeConverter
 
array $propertiesToBeMapped = array( )
 
array $propertiesToSkip = array( )
 
array $propertiesNotToBeMapped = array( )
 
bool $skipUnknownProperties = false
 
bool $mapUnknownProperties = false
 

Detailed Description

The default property mapping configuration is available inside the Argument-object.

Definition at line 25 of file MvcPropertyMappingConfiguration.php.

Member Function Documentation

◆ allowCreationForSubProperty()

TYPO3\CMS\Extbase\Mvc\Controller\MvcPropertyMappingConfiguration::allowCreationForSubProperty (   $propertyPath)

◆ allowModificationForSubProperty()

TYPO3\CMS\Extbase\Mvc\Controller\MvcPropertyMappingConfiguration::allowModificationForSubProperty (   $propertyPath)

◆ setTargetTypeForSubProperty()

TYPO3\CMS\Extbase\Mvc\Controller\MvcPropertyMappingConfiguration::setTargetTypeForSubProperty (   $propertyPath,
  $targetType 
)

Set the target type for a certain property. Especially useful if there is an object which has a nested object which is abstract, and you want to instantiate a concrete object instead.

Parameters
string$propertyPath
string$targetType

Definition at line 55 of file MvcPropertyMappingConfiguration.php.

References TYPO3\CMS\Extbase\Property\TypeConverter\ObjectConverter\CONFIGURATION_TARGET_TYPE, TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration\forProperty(), and TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration\setTypeConverterOption().