TYPO3  7.6
Public Member Functions | List of all members
MvcPropertyMappingConfiguration Class Reference
Inheritance diagram for MvcPropertyMappingConfiguration:
PropertyMappingConfiguration PropertyMappingConfigurationInterface

Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from PropertyMappingConfiguration
const PROPERTY_PATH_PLACEHOLDER = '*'
 
- Protected Member Functions inherited from PropertyMappingConfiguration
 getTypeConvertersWithParentClasses ($typeConverter)
 
- Protected Attributes inherited from PropertyMappingConfiguration
 $configuration
 
 $subConfigurationForProperty = array()
 
 $mapping = array()
 
 $typeConverter = null
 
 $propertiesToBeMapped = array()
 
 $propertiesToSkip = array()
 
 $propertiesNotToBeMapped = array()
 
 $skipUnknownProperties = false
 
 $mapUnknownProperties = false
 

Detailed Description

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

http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later

Definition at line 30 of file MvcPropertyMappingConfiguration.php.

Member Function Documentation

allowCreationForSubProperty (   $propertyPath)

Allow creation of a certain sub property

Parameters
string$propertyPath
Returns
void

Definition at line 39 of file MvcPropertyMappingConfiguration.php.

References PropertyMappingConfiguration\forProperty().

allowModificationForSubProperty (   $propertyPath)

Allow modification for a given property path

Parameters
string$propertyPath
Returns
void

Definition at line 51 of file MvcPropertyMappingConfiguration.php.

References PropertyMappingConfiguration\forProperty().

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 instanciate a concrete object instead.

Parameters
string$propertyPath
string$targetType
Returns
void

Definition at line 66 of file MvcPropertyMappingConfiguration.php.

References PropertyMappingConfiguration\forProperty().