‪TYPO3CMS  ‪main
TYPO3\CMS\Form\Controller\FormFrontendController Class Reference
Inheritance diagram for TYPO3\CMS\Form\Controller\FormFrontendController:
TYPO3\CMS\Extbase\Mvc\Controller\ActionController TYPO3\CMS\Extbase\Mvc\Controller\ControllerInterface

Public Member Functions

 injectFormPersistenceManager (FormPersistenceManagerInterface $formPersistenceManager)
 
 renderAction ()
 
 performAction ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\ActionController
 injectResponseFactory (ResponseFactoryInterface $responseFactory)
 
 injectStreamFactory (StreamFactoryInterface $streamFactory)
 
 injectConfigurationManager (ConfigurationManagerInterface $configurationManager)
 
 injectValidatorResolver (ValidatorResolver $validatorResolver)
 
 injectViewResolver (ViewResolverInterface $viewResolver)
 
 injectReflectionService (ReflectionService $reflectionService)
 
 injectHashService (HashService $hashService)
 
 injectMvcPropertyMappingConfigurationService (MvcPropertyMappingConfigurationService $mvcPropertyMappingConfigurationService)
 
 injectEventDispatcher (EventDispatcherInterface $eventDispatcher)
 
 injectPropertyMapper (PropertyMapper $propertyMapper)
 
 injectInternalFlashMessageService (FlashMessageService $flashMessageService)
 
 injectInternalExtensionService (ExtensionService $extensionService)
 
 initializeControllerArgumentsBaseValidators ()
 
 processRequest (RequestInterface $request)
 
 addFlashMessage (string $messageBody, string $messageTitle='', ContextualFeedbackSeverity $severity=ContextualFeedbackSeverity::OK, bool $storeInSession=true)
 
 throwStatus (int $statusCode, string $statusMessage='', ?string $content=null)
 

Protected Member Functions

 overrideByFlexFormSettings (array $formDefinition)
 
 getFlexformSheetIdentifier (array $formDefinition, string $prototypeName, string $finisherIdentifier)
 
 getFlexFormSettingsFromSheet (array $flexForm, string $sheetIdentifier)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\ActionController
 initializeAction ()
 
 initializeActionMethodArguments ()
 
 initializeActionMethodValidators ()
 
 renderAssetsForRequest (RequestInterface $request)
 
 resolveActionMethodName ()
 
 callActionMethod (RequestInterface $request)
 
 resolveView ()
 
 setViewConfiguration (ViewInterface $view)
 
 errorAction ()
 
 addErrorFlashMessage ()
 
 getErrorFlashMessage ()
 
 forwardToReferringRequest ()
 
 getFlattenedValidationErrorMessage ()
 
 getFlashMessageQueue (string $identifier=null)
 
 redirect (?string $actionName, ?string $controllerName=null, ?string $extensionName=null, ?array $arguments=null, ?int $pageUid=null, $_=null, int $statusCode=303)
 
 redirectToUri (string|UriInterface $uri, $_=null, int $statusCode=303)
 
 addBaseUriIfNecessary (string $uri)
 
 mapRequestArgumentsToControllerArguments ()
 
 htmlResponse (string $html=null)
 
 jsonResponse (string $json=null)
 

Protected Attributes

TYPO3 CMS Form Mvc Persistence FormPersistenceManagerInterface $formPersistenceManager
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\ActionController
ResponseFactoryInterface $responseFactory
 
StreamFactoryInterface $streamFactory
 
ReflectionService $reflectionService
 
HashService $hashService
 
ViewInterface $view
 
string $defaultViewObjectName = TemplateView::class
 
string $actionMethodName = 'indexAction'
 
string $errorMethodName = 'errorAction'
 
MvcPropertyMappingConfigurationService $mvcPropertyMappingConfigurationService
 
EventDispatcherInterface $eventDispatcher
 
RequestInterface $request
 
UriBuilder $uriBuilder
 
array $settings
 
ValidatorResolver $validatorResolver
 
Arguments $arguments
 
ConfigurationManagerInterface $configurationManager
 

Detailed Description

The frontend controller

Scope: frontend

Definition at line 40 of file FormFrontendController.php.

Member Function Documentation

◆ getFlexFormSettingsFromSheet()

TYPO3\CMS\Form\Controller\FormFrontendController::getFlexFormSettingsFromSheet ( array  $flexForm,
string  $sheetIdentifier 
)
protected

◆ getFlexformSheetIdentifier()

TYPO3\CMS\Form\Controller\FormFrontendController::getFlexformSheetIdentifier ( array  $formDefinition,
string  $prototypeName,
string  $finisherIdentifier 
)
protected

◆ injectFormPersistenceManager()

TYPO3\CMS\Form\Controller\FormFrontendController::injectFormPersistenceManager ( FormPersistenceManagerInterface  $formPersistenceManager)

◆ overrideByFlexFormSettings()

TYPO3\CMS\Form\Controller\FormFrontendController::overrideByFlexFormSettings ( array  $formDefinition)
protected

◆ performAction()

TYPO3\CMS\Form\Controller\FormFrontendController::performAction ( )

This method is used to display all pages / finishers except the first page because its non cached.

Definition at line 84 of file FormFrontendController.php.

◆ renderAction()

TYPO3\CMS\Form\Controller\FormFrontendController::renderAction ( )

Take the form which should be rendered from the plugin settings and overlay the formDefinition with additional data from flexform and typoscript settings. This method is used directly to display the first page from the formDefinition because its cached.

Definition at line 63 of file FormFrontendController.php.

References TYPO3\CMS\Extbase\Mvc\Controller\ActionController\htmlResponse(), TYPO3\CMS\Form\Controller\FormFrontendController\overrideByFlexFormSettings(), and TYPO3\CMS\Core\Utility\ArrayUtility\setValueByPath().

Member Data Documentation

◆ $formPersistenceManager

TYPO3 CMS Form Mvc Persistence FormPersistenceManagerInterface TYPO3\CMS\Form\Controller\FormFrontendController::$formPersistenceManager
protected