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

Public Member Functions

 __construct (protected readonly InstallUtility $installUtility, protected readonly ExtensionManagementService $managementService, protected readonly PackageActivationService $packageActivationService,)
 
 installExtensionWithoutSystemDependencyCheckAction (string $extensionKey)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extensionmanager\Controller\AbstractController
 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)
 

Protected Member Functions

 toggleExtensionInstallationStateAction (string $extensionKey)
 
 removeExtensionAction (string $extension)
 
 downloadExtensionZipAction (string $extension)
 
 reloadExtensionDataAction (string $extensionKey)
 
string createZipFileFromExtension (string $extensionKey)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extensionmanager\Controller\AbstractController
 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)
 

Additional Inherited Members

- ‪Public Attributes inherited from ‪TYPO3\CMS\Extensionmanager\Controller\AbstractController
const TRIGGER_RefreshModuleMenu = 'refreshModuleMenu'
 
const TRIGGER_RefreshTopbar = 'refreshTopbar'
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extensionmanager\Controller\AbstractController
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

Controller for handling extension related actions like installing, removing, downloading of data or files.

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

Definition at line 42 of file ActionController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Extensionmanager\Controller\ActionController::__construct ( protected readonly InstallUtility  $installUtility,
protected readonly ExtensionManagementService  $managementService,
protected readonly PackageActivationService  $packageActivationService 
)

Definition at line 44 of file ActionController.php.

Member Function Documentation

◆ createZipFileFromExtension()

string TYPO3\CMS\Extensionmanager\Controller\ActionController::createZipFileFromExtension ( string  $extensionKey)
protected

◆ downloadExtensionZipAction()

TYPO3\CMS\Extensionmanager\Controller\ActionController::downloadExtensionZipAction ( string  $extension)
protected

◆ installExtensionWithoutSystemDependencyCheckAction()

TYPO3\CMS\Extensionmanager\Controller\ActionController::installExtensionWithoutSystemDependencyCheckAction ( string  $extensionKey)

Install an extension and omit dependency checking

Definition at line 95 of file ActionController.php.

◆ reloadExtensionDataAction()

TYPO3\CMS\Extensionmanager\Controller\ActionController::reloadExtensionDataAction ( string  $extensionKey)
protected

Reloads the static SQL data of an extension

Definition at line 159 of file ActionController.php.

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

◆ removeExtensionAction()

TYPO3\CMS\Extensionmanager\Controller\ActionController::removeExtensionAction ( string  $extension)
protected

◆ toggleExtensionInstallationStateAction()