‪TYPO3CMS  10.4
TYPO3\CMS\Form\Mvc\Property\PropertyMappingConfiguration Class Reference
Inheritance diagram for TYPO3\CMS\Form\Mvc\Property\PropertyMappingConfiguration:
TYPO3\CMS\Form\Domain\Runtime\FormRuntime\Lifecycle\AfterFormStateInitializedInterface

Public Member Functions

 afterBuildingFinished (RenderableInterface $renderable)
 
 afterFormStateInitialized (FormRuntime $formRuntime)
 

Protected Member Functions

bool checkSaveFileMountAccess (string $saveToFileMountIdentifier)
 
 adjustPropertyMappingForFileUploadsAtRuntime (FormRuntime $formRuntime, RenderableInterface $renderable)
 

Detailed Description

Scope: frontend

Definition at line 37 of file PropertyMappingConfiguration.php.

Member Function Documentation

◆ adjustPropertyMappingForFileUploadsAtRuntime()

TYPO3\CMS\Form\Mvc\Property\PropertyMappingConfiguration::adjustPropertyMappingForFileUploadsAtRuntime ( FormRuntime  $formRuntime,
RenderableInterface  $renderable 
)
protected

If the form runtime is able to process form submissions (determined by $formRuntime->canProcessFormSubmission()) then a 'form session' is available. This form session identifier will be used to deriving storage sub-folders for the file uploads. This is done by setting UploadedFileReferenceConverter::CONFIGURATION_UPLOAD_SEED type converter option.

Parameters
FormRuntime$formRuntime
RenderableInterface$renderable

Definition at line 174 of file PropertyMappingConfiguration.php.

References TYPO3\CMS\Form\Domain\Runtime\FormRuntime\canProcessFormSubmission(), TYPO3\CMS\Form\Mvc\Property\TypeConverter\UploadedFileReferenceConverter\CONFIGURATION_UPLOAD_SEED, TYPO3\CMS\Form\Domain\Runtime\FormRuntime\getFormSession(), TYPO3\CMS\Form\Domain\Model\Renderable\RootRenderableInterface\getIdentifier(), and TYPO3\CMS\Form\Domain\Runtime\FormRuntime\FormSession\getIdentifier().

Referenced by TYPO3\CMS\Form\Mvc\Property\PropertyMappingConfiguration\afterFormStateInitialized().

◆ afterBuildingFinished()

◆ afterFormStateInitialized()

◆ checkSaveFileMountAccess()

bool TYPO3\CMS\Form\Mvc\Property\PropertyMappingConfiguration::checkSaveFileMountAccess ( string  $saveToFileMountIdentifier)
protected
Parameters
string$saveToFileMountIdentifier
Returns
‪bool

Definition at line 131 of file PropertyMappingConfiguration.php.

Referenced by TYPO3\CMS\Form\Mvc\Property\PropertyMappingConfiguration\afterBuildingFinished().