‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Mvc\Controller\ActionController Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Mvc\Controller\ActionController:
TYPO3\CMS\Extbase\Mvc\Controller\ControllerInterface TYPO3\CMS\Belog\Controller\BackendLogController TYPO3\CMS\Beuser\Controller\BackendUserController TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\DummyController TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\DummyControllerWithValidateAnnotationWithoutParam TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\DummyControllerWithValidateAnnotationWithoutParamTypeHint TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\DummyControllerWithValidateAttributeWithoutParam TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\DummyControllerWithValidateAttributeWithoutParamTypeHint TYPO3\CMS\Extbase\Tests\UnitDeprecated\Reflection\Fixture\DummyController TYPO3\CMS\Extensionmanager\Controller\AbstractController TYPO3\CMS\Form\Controller\AbstractBackendController TYPO3\CMS\Form\Controller\FormFrontendController TYPO3\CMS\FrontendLogin\Controller\LoginController TYPO3\CMS\FrontendLogin\Controller\PasswordRecoveryController TYPO3\CMS\IndexedSearch\Controller\AdministrationController TYPO3\CMS\IndexedSearch\Controller\SearchController TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController TYPO3Tests\ActionControllerTest\Controller\TestController TYPO3Tests\BlogExample\Controller\BlogController TYPO3Tests\BlogExample\Controller\ContentController TYPO3Tests\FluidTest\Controller\TemplateController TYPO3Tests\FormCachingTests\Controller\FormCachingTestsController TYPO3Tests\ParentChildTranslation\Controller\MainController TYPO3Tests\TestIrreForeignfield\Controller\AbstractController TYPO3Tests\TestIrreForeignfield\Controller\QueueController TYPO3Tests\TestTranslate\Controller\TranslateController

Public Member Functions

 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

 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

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
 

Private Member Functions

 setArgumentValue (Argument $argument, mixed $rawValue)
 

Private Attributes

ViewResolverInterface $viewResolver
 
PropertyMapper $propertyMapper
 
FlashMessageService $internalFlashMessageService
 
ExtensionService $internalExtensionService
 

Detailed Description

A multi action controller. This is by far the most common base class for Controllers.

Definition at line 62 of file ActionController.php.

Member Function Documentation

◆ addBaseUriIfNecessary()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::addBaseUriIfNecessary ( string  $uri)
protected

Adds the base uri if not already in place.

Definition at line 735 of file ActionController.php.

Referenced by TYPO3\CMS\Extbase\Mvc\Controller\ActionController\redirectToUri().

◆ addErrorFlashMessage()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::addErrorFlashMessage ( )
protected

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

Reimplemented in TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController.

Definition at line 557 of file ActionController.php.

References TYPO3\CMS\Extbase\Mvc\Controller\ActionController\addFlashMessage(), and TYPO3\CMS\Extbase\Mvc\Controller\ActionController\getErrorFlashMessage().

Referenced by TYPO3\CMS\Extbase\Mvc\Controller\ActionController\errorAction().

◆ addFlashMessage()

◆ callActionMethod()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::callActionMethod ( RequestInterface  $request)
protected

Calls the specified action method and passes the arguments.

If the action returns a string, it is appended to the content in the response object. If the action doesn't return anything and a valid view exists, the view is rendered automatically.

Definition at line 432 of file ActionController.php.

Referenced by TYPO3\CMS\Extbase\Mvc\Controller\ActionController\processRequest().

◆ errorAction()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::errorAction ( )
protected

A special action which is called if the originally intended action could not be called, for example if the arguments were not valid.

The default implementation sets a flash message, request errors and forwards back to the originating action. This is suitable for most actions dealing with form input.

We clear the page cache by default on an error as well, as we need to make sure the data is re-evaluated when the user changes something.

Definition at line 540 of file ActionController.php.

References TYPO3\CMS\Extbase\Mvc\Controller\ActionController\addErrorFlashMessage(), TYPO3\CMS\Extbase\Mvc\Controller\ActionController\forwardToReferringRequest(), TYPO3\CMS\Extbase\Mvc\Controller\ActionController\getFlattenedValidationErrorMessage(), and TYPO3\CMS\Extbase\Mvc\Controller\ActionController\htmlResponse().

◆ forwardToReferringRequest()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::forwardToReferringRequest ( )
protected

If information on the request before the current request was sent, this method forwards back to the originating request. This effectively ends processing of the current request, so do not call this method before you have finished the necessary business logic!

Definition at line 585 of file ActionController.php.

References TYPO3\CMS\Extbase\Mvc\Controller\ActionController\$arguments.

Referenced by TYPO3\CMS\Extbase\Mvc\Controller\ActionController\errorAction().

◆ getErrorFlashMessage()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::getErrorFlashMessage ( )
protected

A template method for displaying custom error flash messages, or to display no flash message at all on errors. Override this to customize the flash message in your action controller.

Returns either the flash message or "false" if no flash message should be set

Reimplemented in TYPO3Tests\BlogExample\Controller\BlogController.

Definition at line 572 of file ActionController.php.

Referenced by TYPO3\CMS\Extbase\Mvc\Controller\ActionController\addErrorFlashMessage().

◆ getFlashMessageQueue()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::getFlashMessageQueue ( ?string  $identifier = null)
protected

◆ getFlattenedValidationErrorMessage()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::getFlattenedValidationErrorMessage ( )
protected

Returns a string with a basic error message about validation failure. We may add all validation error messages to a log file in the future, but for security reasons (

See also
‪#54074) we do not return these here.

Definition at line 632 of file ActionController.php.

Referenced by TYPO3\CMS\Extbase\Mvc\Controller\ActionController\errorAction().

◆ htmlResponse()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::htmlResponse ( ?string  $html = null)
protected

Returns a response object with either the given html string or the current rendered view as content.

Definition at line 812 of file ActionController.php.

Referenced by TYPO3Tests\ActionControllerTest\Controller\TestController\barAction(), TYPO3Tests\FluidTest\Controller\TemplateController\baseTemplateAction(), TYPO3Tests\ActionControllerTest\Controller\TestController\bazAction(), TYPO3Tests\BlogExample\Controller\BlogController\detailsAction(), TYPO3\CMS\Extbase\Mvc\Controller\ActionController\errorAction(), TYPO3Tests\ActionControllerTest\Controller\TestController\fooAction(), TYPO3\CMS\Extensionmanager\Controller\UploadExtensionFileController\formAction(), TYPO3\CMS\IndexedSearch\Controller\SearchController\formAction(), TYPO3Tests\ActionControllerTest\Controller\TestController\initializeActionMethodArgumentsTestActionOne(), TYPO3Tests\ActionControllerTest\Controller\TestController\initializeActionMethodArgumentsTestActionThree(), TYPO3Tests\ActionControllerTest\Controller\TestController\initializeActionMethodArgumentsTestActionTwo(), TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController\inputPresetDtoAction(), TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController\inputPresetModelAction(), TYPO3Tests\ParentChildTranslation\Controller\MainController\listAction(), TYPO3Tests\BlogExample\Controller\BlogController\listAction(), TYPO3\CMS\FrontendLogin\Controller\LoginController\loginAction(), TYPO3\CMS\FrontendLogin\Controller\LoginController\logoutAction(), TYPO3\CMS\IndexedSearch\Controller\SearchController\noTypoScriptAction(), TYPO3\CMS\FrontendLogin\Controller\LoginController\overviewAction(), TYPO3Tests\ActionControllerTest\Controller\TestController\quxAction(), TYPO3\CMS\FrontendLogin\Controller\PasswordRecoveryController\recoveryAction(), TYPO3\CMS\Extensionmanager\Controller\ActionController\removeExtensionAction(), TYPO3\CMS\Form\Controller\FormFrontendController\renderAction(), TYPO3\CMS\Form\Controller\FormEditorController\renderFormPageAction(), TYPO3\CMS\IndexedSearch\Controller\SearchController\searchAction(), TYPO3\CMS\FrontendLogin\Controller\PasswordRecoveryController\showChangePasswordAction(), TYPO3Tests\FormCachingTests\Controller\FormCachingTestsController\somePerformAction(), TYPO3Tests\FormCachingTests\Controller\FormCachingTestsController\someRenderAction(), TYPO3Tests\BlogExample\Controller\BlogController\testFormAction(), TYPO3Tests\BlogExample\Controller\BlogController\testForwardTargetAction(), TYPO3Tests\BlogExample\Controller\BlogController\testRelatedObjectAction(), TYPO3Tests\TestTranslate\Controller\TranslateController\translateAction(), TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController\validateDtoAction(), and TYPO3Tests\ActionControllerArgumentTest\Controller\ArgumentTestController\validateModelAction().

◆ initializeAction()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::initializeAction ( )
protected

◆ initializeActionMethodArguments()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::initializeActionMethodArguments ( )
protected

Implementation of the arguments initialization in the action controller: Automatically registers arguments of the current action

Don't override this method - use initializeAction() instead.

Exceptions
InvalidArgumentTypeException
See also
‪initializeArguments()

Reimplemented in TYPO3Tests\ActionControllerTest\Controller\TestController.

Definition at line 246 of file ActionController.php.

Referenced by TYPO3\CMS\Extbase\Mvc\Controller\ActionController\processRequest().

◆ initializeActionMethodValidators()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::initializeActionMethodValidators ( )
protected

Adds the needed validators to the Arguments:

  • ‪Validators checking the data type from the
    Parameters
    annotation
  • ‪Custom validators specified with validate annotations.
  • ‪Model-based validators (validate annotations in the model)
  • ‪Custom model validator classes

Definition at line 277 of file ActionController.php.

References $validator.

Referenced by TYPO3\CMS\Extbase\Mvc\Controller\ActionController\processRequest().

◆ initializeControllerArgumentsBaseValidators()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::initializeControllerArgumentsBaseValidators ( )

Collects the base validators which were defined for the data type of each controller argument and adds them to the argument's validator chain.

Definition at line 324 of file ActionController.php.

References $validator.

◆ injectConfigurationManager()

◆ injectEventDispatcher()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::injectEventDispatcher ( EventDispatcherInterface  $eventDispatcher)

◆ injectHashService()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::injectHashService ( HashService  $hashService)

◆ injectInternalExtensionService()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::injectInternalExtensionService ( ExtensionService  $extensionService)
final

Definition at line 222 of file ActionController.php.

◆ injectInternalFlashMessageService()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::injectInternalFlashMessageService ( FlashMessageService  $flashMessageService)
final

Definition at line 214 of file ActionController.php.

◆ injectMvcPropertyMappingConfigurationService()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::injectMvcPropertyMappingConfigurationService ( MvcPropertyMappingConfigurationService  $mvcPropertyMappingConfigurationService)

◆ injectPropertyMapper()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::injectPropertyMapper ( PropertyMapper  $propertyMapper)

◆ injectReflectionService()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::injectReflectionService ( ReflectionService  $reflectionService)

◆ injectResponseFactory()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::injectResponseFactory ( ResponseFactoryInterface  $responseFactory)
final

◆ injectStreamFactory()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::injectStreamFactory ( StreamFactoryInterface  $streamFactory)
final

◆ injectValidatorResolver()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::injectValidatorResolver ( ValidatorResolver  $validatorResolver)

◆ injectViewResolver()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::injectViewResolver ( ViewResolverInterface  $viewResolver)

◆ jsonResponse()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::jsonResponse ( ?string  $json = null)
protected

◆ mapRequestArgumentsToControllerArguments()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::mapRequestArgumentsToControllerArguments ( )
protected

Maps arguments delivered by the request object to the local controller arguments.

Exceptions
Exception

Definition at line 767 of file ActionController.php.

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

Referenced by TYPO3\CMS\Extbase\Mvc\Controller\ActionController\processRequest().

◆ processRequest()

◆ redirect()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::redirect ( ?string  $actionName,
?string  $controllerName = null,
?string  $extensionName = null,
?array  $arguments = null,
?int  $pageUid = null,
  $_ = null,
int  $statusCode = 303 
)
protected

Redirects the request to another action and / or controller.

Redirect will be sent to the client which then performs another request to the new URI.

Parameters
string | null$actionName‪Name of the action to forward to
string | null$controllerName‪Unqualified object name of the controller to forward to. If not specified, the current controller is used.
string | null$extensionName‪Name of the extension containing the controller to forward to. If not specified, the current extension is assumed.
array | null$argumentsArguments to pass to the target action
int | null$pageUid‪Target page uid. If NULL, the current page uid is used
null$_‪(optional) Unused
int$statusCode‪(optional) The HTTP status code for the redirect. Default is "303 See Other

Definition at line 694 of file ActionController.php.

References TYPO3\CMS\Extbase\Mvc\Controller\ActionController\$arguments, TYPO3\CMS\Redirects\Message\$statusCode, TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), and TYPO3\CMS\Extbase\Mvc\Controller\ActionController\redirectToUri().

Referenced by TYPO3\CMS\Beuser\Controller\BackendUserController\addGroupToCompareListAction(), TYPO3\CMS\FrontendLogin\Controller\PasswordRecoveryController\changePasswordAction(), TYPO3\CMS\Beuser\Controller\BackendUserController\compareAction(), TYPO3\CMS\Beuser\Controller\BackendUserController\compareGroupsAction(), TYPO3Tests\TestIrreForeignfield\Controller\ContentController\createAction(), TYPO3Tests\TestIrreForeignfield\Controller\ContentController\deleteAction(), TYPO3\CMS\Form\Controller\FormManagerController\deleteAction(), TYPO3\CMS\IndexedSearch\Controller\AdministrationController\deleteIndexedItemAction(), TYPO3\CMS\Belog\Controller\BackendLogController\deleteMessageAction(), TYPO3\CMS\Extensionmanager\Controller\ExtensionComposerStatusController\detailAction(), TYPO3\CMS\Extensionmanager\Controller\UploadExtensionFileController\extractAction(), TYPO3\CMS\IndexedSearch\Controller\SearchController\formAction(), TYPO3\CMS\FrontendLogin\Controller\PasswordRecoveryController\recoveryAction(), TYPO3\CMS\Extensionmanager\Controller\ActionController\reloadExtensionDataAction(), TYPO3\CMS\Beuser\Controller\BackendUserController\removeAllFromCompareListAction(), TYPO3\CMS\Beuser\Controller\BackendUserController\removeAllGroupsFromCompareListAction(), TYPO3\CMS\Beuser\Controller\BackendUserController\removeFromCompareListAction(), TYPO3\CMS\Beuser\Controller\BackendUserController\removeGroupFromCompareListAction(), TYPO3\CMS\IndexedSearch\Controller\AdministrationController\saveStopwordsAction(), TYPO3\CMS\IndexedSearch\Controller\SearchController\searchAction(), TYPO3\CMS\IndexedSearch\Controller\AdministrationController\statisticDetailsAction(), TYPO3\CMS\Extensionmanager\Controller\ActionController\toggleExtensionInstallationStateAction(), TYPO3Tests\TestIrreForeignfield\Controller\ContentController\updateAction(), and TYPO3\CMS\FrontendLogin\Controller\PasswordRecoveryController\validateHashArgument().

◆ redirectToUri()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::redirectToUri ( string|UriInterface  $uri,
  $_ = null,
int  $statusCode = 303 
)
protected

Redirects the web request to another uri.

Parameters
string | UriInterface$uri‪A string representation of a URI
null$_‪(optional) Unused
int$statusCode‪(optional) The HTTP status code for the redirect. Default is "303 See Other"

Definition at line 724 of file ActionController.php.

References TYPO3\CMS\Redirects\Message\$statusCode, and TYPO3\CMS\Extbase\Mvc\Controller\ActionController\addBaseUriIfNecessary().

Referenced by TYPO3\CMS\FrontendLogin\Controller\LoginController\handleRedirect(), and TYPO3\CMS\Extbase\Mvc\Controller\ActionController\redirect().

◆ renderAssetsForRequest()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::renderAssetsForRequest ( RequestInterface  $request)
protected

Method which initializes assets that should be attached to the response for the given $request, which contains parameters that an override can use to determine which assets to add via PageRenderer.

This default implementation will attempt to render the sections "HeaderAssets" and "FooterAssets" from the template that is being rendered, inserting the rendered content into either page header or footer, as appropriate. Both sections are optional and can be used one or both in combination.

You can add assets with this method without worrying about duplicates, if for example you do this in a plugin that gets used multiple time on a page.

Definition at line 386 of file ActionController.php.

References TYPO3\CMS\Extbase\Mvc\Controller\ActionController\$arguments, and TYPO3\CMS\Extbase\Mvc\Controller\ActionController\$request.

Referenced by TYPO3\CMS\Extbase\Mvc\Controller\ActionController\processRequest().

◆ resolveActionMethodName()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::resolveActionMethodName ( )
protected

Resolves and checks the current action method name

Exceptions
NoSuchActionException‪if the action specified in the request object does not exist (and if there's no default action either).

Definition at line 414 of file ActionController.php.

References TYPO3\CMS\Extbase\Mvc\Controller\ActionController\$actionMethodName.

Referenced by TYPO3\CMS\Extbase\Mvc\Controller\ActionController\processRequest().

◆ resolveView()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::resolveView ( )
protected

Prepares a view for the current action. By default, this method tries to locate a view with a name matching the current action.

Definition at line 469 of file ActionController.php.

References TYPO3\CMS\Extbase\Mvc\Controller\ActionController\$view, and TYPO3\CMS\Extbase\Mvc\Controller\ActionController\setViewConfiguration().

Referenced by TYPO3\CMS\Extbase\Mvc\Controller\ActionController\processRequest().

◆ setArgumentValue()

◆ setViewConfiguration()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::setViewConfiguration ( ViewInterface  $view)
protected

◆ throwStatus()

TYPO3\CMS\Extbase\Mvc\Controller\ActionController::throwStatus ( int  $statusCode,
string  $statusMessage = '',
?string  $content = null 
)

Sends the specified HTTP status immediately and only stops to run back through the middleware stack. Note: If any other plugin or content or hook is used within a frontend request, this is skipped by design.

Parameters
int$statusCode‪The HTTP status code
string$statusMessage‪A custom HTTP status message
string | null$content‪Body content which further explains the status
Exceptions
PropagateResponseException

Definition at line 749 of file ActionController.php.

References TYPO3\CMS\Redirects\Message\$statusCode.

Member Data Documentation

◆ $actionMethodName

string TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$actionMethodName = 'indexAction'
protected

◆ $arguments

◆ $configurationManager

ConfigurationManagerInterface TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$configurationManager
protected

◆ $defaultViewObjectName

string TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$defaultViewObjectName = TemplateView::class
protected

Definition at line 90 of file ActionController.php.

◆ $errorMethodName

string TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$errorMethodName = 'errorAction'
protected

Name of the special error action method which is called in case of errors

Definition at line 102 of file ActionController.php.

◆ $eventDispatcher

EventDispatcherInterface TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$eventDispatcher
protected

◆ $hashService

HashService TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$hashService
protected

◆ $internalExtensionService

ExtensionService TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$internalExtensionService
private

Definition at line 139 of file ActionController.php.

◆ $internalFlashMessageService

FlashMessageService TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$internalFlashMessageService
private

Definition at line 134 of file ActionController.php.

◆ $mvcPropertyMappingConfigurationService

MvcPropertyMappingConfigurationService TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$mvcPropertyMappingConfigurationService
protected

◆ $propertyMapper

PropertyMapper TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$propertyMapper
private

◆ $reflectionService

ReflectionService TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$reflectionService
protected

◆ $request

◆ $responseFactory

ResponseFactoryInterface TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$responseFactory
protected

◆ $settings

array TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$settings
protected

Contains the settings of the current extension

Definition at line 112 of file ActionController.php.

Referenced by TYPO3\CMS\Belog\Controller\BackendLogController\listAction().

◆ $streamFactory

StreamFactoryInterface TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$streamFactory
protected

◆ $uriBuilder

◆ $validatorResolver

ValidatorResolver TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$validatorResolver
protected

◆ $view

ViewInterface TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$view
protected

The current view, as resolved by resolveView()

Definition at line 82 of file ActionController.php.

Referenced by TYPO3\CMS\Extensionmanager\Controller\ExtensionComposerStatusController\detailAction(), TYPO3\CMS\Extensionmanager\Controller\ListController\distributionsAction(), TYPO3\CMS\IndexedSearch\Controller\AdministrationController\externalDocumentsAction(), TYPO3\CMS\Extensionmanager\Controller\AbstractController\handleTriggerArguments(), TYPO3\CMS\Extensionmanager\Controller\ListController\indexAction(), TYPO3\CMS\IndexedSearch\Controller\AdministrationController\indexAction(), TYPO3\CMS\IndexedSearch\Controller\AdministrationController\initializeModuleTemplate(), TYPO3\CMS\Extensionmanager\Controller\AbstractController\initializeModuleTemplate(), TYPO3\CMS\Extensionmanager\Controller\ExtensionComposerStatusController\listAction(), TYPO3\CMS\IndexedSearch\Controller\AdministrationController\pagesAction(), TYPO3\CMS\Extensionmanager\Controller\DistributionController\registerDocHeaderButtons(), TYPO3\CMS\Extensionmanager\Controller\ExtensionComposerStatusController\registerDocHeaderButtons(), TYPO3\CMS\Extensionmanager\Controller\ListController\registerDocHeaderButtons(), TYPO3\CMS\Form\Controller\FormEditorController\renderFormEditorTemplates(), TYPO3\CMS\Extbase\Mvc\Controller\ActionController\resolveView(), TYPO3\CMS\Extbase\Mvc\Controller\ActionController\setViewConfiguration(), TYPO3\CMS\Extensionmanager\Controller\DistributionController\showAction(), TYPO3\CMS\Extensionmanager\Controller\ListController\showAllVersionsAction(), TYPO3\CMS\IndexedSearch\Controller\AdministrationController\statisticAction(), TYPO3\CMS\IndexedSearch\Controller\AdministrationController\statisticDetailsAction(), TYPO3\CMS\Extensionmanager\Controller\ListController\terAction(), TYPO3\CMS\Extensionmanager\Controller\ListController\unresolvedDependenciesAction(), and TYPO3\CMS\IndexedSearch\Controller\AdministrationController\wordDetailAction().

◆ $viewResolver

ViewResolverInterface TYPO3\CMS\Extbase\Mvc\Controller\ActionController::$viewResolver
private