‪TYPO3CMS  ‪main
TYPO3\CMS\Extensionmanager\Controller\AbstractController Class Reference
Inheritance diagram for TYPO3\CMS\Extensionmanager\Controller\AbstractController:
TYPO3\CMS\Extbase\Mvc\Controller\ActionController TYPO3\CMS\Extbase\Mvc\Controller\ControllerInterface TYPO3\CMS\Extensionmanager\Controller\ActionController TYPO3\CMS\Extensionmanager\Controller\DistributionController TYPO3\CMS\Extensionmanager\Controller\ExtensionComposerStatusController TYPO3\CMS\Extensionmanager\Controller\ListController TYPO3\CMS\Extensionmanager\Controller\UpdateFromTerController TYPO3\CMS\Extensionmanager\Controller\UploadExtensionFileController

Public Member Functions

 injectModuleTemplateFactory (ModuleTemplateFactory $moduleTemplateFactory)
 
- ‪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)
 

Public Attributes

const TRIGGER_RefreshModuleMenu = 'refreshModuleMenu'
 
const TRIGGER_RefreshTopbar = 'refreshTopbar'
 

Protected Member Functions

 translate (string $key, ?array $arguments=null)
 
 handleTriggerArguments (ModuleTemplate $view)
 
 initializeModuleTemplate (RequestInterface $request)
 
- ‪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

ModuleTemplateFactory $moduleTemplateFactory
 
array $triggerArguments
 
- ‪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

Abstract action controller.

This class is a specific controller implementation and is not considered part of the Public TYPO3 API.

Definition at line 31 of file AbstractController.php.

Member Function Documentation

◆ handleTriggerArguments()

TYPO3\CMS\Extensionmanager\Controller\AbstractController::handleTriggerArguments ( ModuleTemplate  $view)
protected

Handles trigger arguments, e.g. refreshing the module menu widget if an extension with backend modules has been enabled or disabled.

Definition at line 61 of file AbstractController.php.

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

Referenced by TYPO3\CMS\Extensionmanager\Controller\ListController\indexAction().

◆ initializeModuleTemplate()

TYPO3\CMS\Extensionmanager\Controller\AbstractController::initializeModuleTemplate ( RequestInterface  $request)
protected

◆ injectModuleTemplateFactory()

TYPO3\CMS\Extensionmanager\Controller\AbstractController::injectModuleTemplateFactory ( ModuleTemplateFactory  $moduleTemplateFactory)

◆ translate()

Member Data Documentation

◆ $moduleTemplateFactory

ModuleTemplateFactory TYPO3\CMS\Extensionmanager\Controller\AbstractController::$moduleTemplateFactory
protected

◆ $triggerArguments

array TYPO3\CMS\Extensionmanager\Controller\AbstractController::$triggerArguments
protected

◆ TRIGGER_RefreshModuleMenu

const TYPO3\CMS\Extensionmanager\Controller\AbstractController::TRIGGER_RefreshModuleMenu = 'refreshModuleMenu'

◆ TRIGGER_RefreshTopbar

const TYPO3\CMS\Extensionmanager\Controller\AbstractController::TRIGGER_RefreshTopbar = 'refreshTopbar'
‪TYPO3\CMS\Extensionmanager\Controller\AbstractController\TRIGGER_RefreshModuleMenu
‪const TRIGGER_RefreshModuleMenu
Definition: AbstractController.php:33
‪TYPO3\CMS\Extensionmanager\Controller\AbstractController\TRIGGER_RefreshTopbar
‪const TRIGGER_RefreshTopbar
Definition: AbstractController.php:34