‪TYPO3CMS  ‪main
TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController Class Reference
Inheritance diagram for TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController:
TYPO3\CMS\Extbase\Mvc\Controller\ActionController TYPO3\CMS\Extbase\Mvc\Controller\ControllerInterface

Public Member Functions

 declareForwardTargetAction (string $forwardTargetAction)
 
 declareForwardTargetArguments (array $forwardTargetArguments)
 
 forwardAction ()
 
 inputPresetModelAction (Model $preset)
 
 inputPresetDtoAction (ModelDto $preset)
 
 validateModelAction (Model $model)
 
 validateDtoAction (ModelDto $dto)
 
- ‪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

 addErrorFlashMessage ()
 
- ‪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 ()
 
 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

string $forwardTargetAction
 
array $forwardTargetArguments
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\ActionController
ResponseFactoryInterface $responseFactory
 
StreamFactoryInterface $streamFactory
 
HashService $hashService
 
ReflectionService $reflectionService
 
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

Fixture controller

Definition at line 30 of file ArgumentTestController.php.

Member Function Documentation

◆ addErrorFlashMessage()

TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController::addErrorFlashMessage ( )
protected

If an error occurred during this request, this adds a flash message describing the error to the flash message container.

Reimplemented from TYPO3\CMS\Extbase\Mvc\Controller\ActionController.

Definition at line 54 of file ArgumentTestController.php.

◆ declareForwardTargetAction()

TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController::declareForwardTargetAction ( string  $forwardTargetAction)

◆ declareForwardTargetArguments()

TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController::declareForwardTargetArguments ( array  $forwardTargetArguments)

◆ forwardAction()

TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController::forwardAction ( )

Definition at line 59 of file ArgumentTestController.php.

◆ inputPresetDtoAction()

TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController::inputPresetDtoAction ( ModelDto  $preset)

◆ inputPresetModelAction()

TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController::inputPresetModelAction ( Model  $preset)

◆ validateDtoAction()

TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController::validateDtoAction ( ModelDto  $dto)

@Extbase\Validate("TYPO3Tests.ActionControllerArgumentTest.Domain:FailingValidator", param="dto")

Definition at line 98 of file ArgumentTestController.php.

References TYPO3\CMS\Extbase\Mvc\Controller\ActionController\htmlResponse().

◆ validateModelAction()

TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController::validateModelAction ( Model  $model)

@Extbase\Validate("TYPO3Tests.ActionControllerArgumentTest.Domain:FailingValidator", param="model")

Definition at line 87 of file ArgumentTestController.php.

References TYPO3\CMS\Extbase\Mvc\Controller\ActionController\htmlResponse().

Member Data Documentation

◆ $forwardTargetAction

string TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController::$forwardTargetAction
protected

◆ $forwardTargetArguments

array TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController::$forwardTargetArguments
protected