‪TYPO3CMS  10.4
TYPO3\CMS\Extbase\Property\TypeConverter\StaticFileCollectionConverter Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Property\TypeConverter\StaticFileCollectionConverter:
TYPO3\CMS\Extbase\Property\TypeConverter\AbstractFileCollectionConverter TYPO3\CMS\Extbase\Property\TypeConverter\AbstractTypeConverter TYPO3\CMS\Extbase\Property\TypeConverterInterface TYPO3\CMS\Core\SingletonInterface

Protected Member Functions

TYPO3 CMS Core Resource Collection StaticFileCollection getObject ($source)
 

Protected Attributes

string[] $sourceTypes = array( 'integer' )
 
string $targetType = StaticFileCollection::class
 
string $expectedObjectType = \TYPO3\CMS\Core\Resource\Collection\StaticFileCollection::class
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\Property\TypeConverter\AbstractFileCollectionConverter
int $priority = 10
 
string $expectedObjectType
 
TYPO3 CMS Core Resource ResourceFactory $fileFactory
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\Property\TypeConverter\AbstractTypeConverter
string[] $sourceTypes = array( )
 
string $targetType = ''
 
int $priority
 
TYPO3 CMS Extbase Object ObjectManagerInterface $objectManager
 

Additional Inherited Members

- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Property\TypeConverter\AbstractFileCollectionConverter
 injectFileFactory (ResourceFactory $fileFactory)
 
TYPO3 CMS Extbase Domain Model AbstractFileCollection convertFrom ($source, string $targetType, array $convertedChildProperties=[], PropertyMappingConfigurationInterface $configuration=null)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Property\TypeConverter\AbstractTypeConverter
 injectObjectManager (ObjectManagerInterface $objectManager)
 
string[] getSupportedSourceTypes ()
 
string getSupportedTargetType ()
 
string getTargetTypeForSource ($source, string $originalTargetType, PropertyMappingConfigurationInterface $configuration=null)
 
int getPriority ()
 
bool canConvertFrom ($source, string $targetType)
 
array getSourceChildPropertiesToBeConverted ($source)
 
string getTypeOfChildProperty (string $targetType, string $propertyName, PropertyMappingConfigurationInterface $configuration)
 

Detailed Description

Converter which transforms simple types to \TYPO3\CMS\Extbase\Domain\Model\FileCollection.

experimental! This class is experimental and subject to change!

Deprecated:
‪since TYPO3 10.4, will be removed in version 11.0

Definition at line 29 of file StaticFileCollectionConverter.php.

Member Function Documentation

◆ getObject()

TYPO3 CMS Core Resource Collection StaticFileCollection TYPO3\CMS\Extbase\Property\TypeConverter\StaticFileCollectionConverter::getObject (   $source)
protected
Parameters
int$source
Returns
‪\TYPO3\CMS\Core\Resource\Collection\StaticFileCollection

Reimplemented from TYPO3\CMS\Extbase\Property\TypeConverter\AbstractFileCollectionConverter.

Definition at line 47 of file StaticFileCollectionConverter.php.

Member Data Documentation

◆ $expectedObjectType

string TYPO3\CMS\Extbase\Property\TypeConverter\StaticFileCollectionConverter::$expectedObjectType = \TYPO3\CMS\Core\Resource\Collection\StaticFileCollection::class
protected

Definition at line 41 of file StaticFileCollectionConverter.php.

◆ $sourceTypes

string [] TYPO3\CMS\Extbase\Property\TypeConverter\StaticFileCollectionConverter::$sourceTypes = array( 'integer' )
protected

Definition at line 33 of file StaticFileCollectionConverter.php.

◆ $targetType

string TYPO3\CMS\Extbase\Property\TypeConverter\StaticFileCollectionConverter::$targetType = StaticFileCollection::class
protected

Definition at line 37 of file StaticFileCollectionConverter.php.