‪TYPO3CMS  ‪main
TYPO3\CMS\Install\Controller\MaintenanceController Class Reference
Inheritance diagram for TYPO3\CMS\Install\Controller\MaintenanceController:
TYPO3\CMS\Install\Controller\AbstractController

Public Member Functions

 __construct (private readonly LateBootService $lateBootService, private readonly ClearCacheService $clearCacheService, private readonly ClearTableService $clearTableService, private readonly ConfigurationManager $configurationManager, private readonly PasswordHashFactory $passwordHashFactory, private readonly Locales $locales, private readonly LanguageServiceFactory $languageServiceFactory, private readonly FormProtectionFactory $formProtectionFactory, private readonly SchemaMigrator $schemaMigrator,)
 
 cardsAction (ServerRequestInterface $request)
 
 cacheClearAllAction ()
 
 clearTypo3tempFilesStatsAction (ServerRequestInterface $request)
 
 clearTypo3tempFilesAction (ServerRequestInterface $request)
 
 dumpAutoloadAction ()
 
 databaseAnalyzerAction (ServerRequestInterface $request)
 
 databaseAnalyzerAnalyzeAction (ServerRequestInterface $request)
 
 databaseAnalyzerExecuteAction (ServerRequestInterface $request)
 
 clearTablesStatsAction (ServerRequestInterface $request)
 
 clearTablesClearAction (ServerRequestInterface $request)
 
 createAdminGetDataAction (ServerRequestInterface $request)
 
 createAdminAction (ServerRequestInterface $request)
 
 languagePacksGetDataAction (ServerRequestInterface $request)
 
 languagePacksActivateLanguageAction (ServerRequestInterface $request)
 
 languagePacksDeactivateLanguageAction (ServerRequestInterface $request)
 
 languagePacksUpdatePackAction (ServerRequestInterface $request)
 
 languagePacksUpdateIsoTimesAction (ServerRequestInterface $request)
 
 resetBackendUserUcAction ()
 

Protected Attributes

PasswordPolicyValidator $passwordPolicyValidator
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Install\Controller\AbstractController
 initializeView (ServerRequestInterface $request)
 

Detailed Description

Maintenance controller

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

Definition at line 53 of file MaintenanceController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\Controller\MaintenanceController::__construct ( private readonly LateBootService  $lateBootService,
private readonly ClearCacheService  $clearCacheService,
private readonly ClearTableService  $clearTableService,
private readonly ConfigurationManager  $configurationManager,
private readonly PasswordHashFactory  $passwordHashFactory,
private readonly Locales  $locales,
private readonly LanguageServiceFactory  $languageServiceFactory,
private readonly FormProtectionFactory  $formProtectionFactory,
private readonly SchemaMigrator  $schemaMigrator 
)

Member Function Documentation

◆ cacheClearAllAction()

TYPO3\CMS\Install\Controller\MaintenanceController::cacheClearAllAction ( )

Clear cache framework and opcode caches

Definition at line 92 of file MaintenanceController.php.

◆ cardsAction()

TYPO3\CMS\Install\Controller\MaintenanceController::cardsAction ( ServerRequestInterface  $request)

Main "show the cards" view

Definition at line 80 of file MaintenanceController.php.

References TYPO3\CMS\Install\Controller\AbstractController\initializeView().

◆ clearTablesClearAction()

TYPO3\CMS\Install\Controller\MaintenanceController::clearTablesClearAction ( ServerRequestInterface  $request)

Truncate a specific table

Exceptions

Definition at line 440 of file MaintenanceController.php.

◆ clearTablesStatsAction()

TYPO3\CMS\Install\Controller\MaintenanceController::clearTablesStatsAction ( ServerRequestInterface  $request)

Clear table overview statistics action

Definition at line 415 of file MaintenanceController.php.

References TYPO3\CMS\Install\Controller\AbstractController\initializeView().

◆ clearTypo3tempFilesAction()

TYPO3\CMS\Install\Controller\MaintenanceController::clearTypo3tempFilesAction ( ServerRequestInterface  $request)

Clear typo3temp/assets or FAL processed Files

Definition at line 137 of file MaintenanceController.php.

◆ clearTypo3tempFilesStatsAction()

TYPO3\CMS\Install\Controller\MaintenanceController::clearTypo3tempFilesStatsAction ( ServerRequestInterface  $request)

Clear typo3temp files statistics action

Definition at line 109 of file MaintenanceController.php.

References TYPO3\CMS\Install\Controller\AbstractController\initializeView().

◆ createAdminAction()

TYPO3\CMS\Install\Controller\MaintenanceController::createAdminAction ( ServerRequestInterface  $request)

Create a backend administrator from given username and password

Definition at line 485 of file MaintenanceController.php.

References $GLOBALS.

◆ createAdminGetDataAction()

TYPO3\CMS\Install\Controller\MaintenanceController::createAdminGetDataAction ( ServerRequestInterface  $request)

Create Admin Get Data action

Definition at line 462 of file MaintenanceController.php.

References TYPO3\CMS\Install\Controller\AbstractController\initializeView().

◆ databaseAnalyzerAction()

TYPO3\CMS\Install\Controller\MaintenanceController::databaseAnalyzerAction ( ServerRequestInterface  $request)

Get main database analyzer modal HTML

Definition at line 200 of file MaintenanceController.php.

References TYPO3\CMS\Install\Controller\AbstractController\initializeView().

◆ databaseAnalyzerAnalyzeAction()

TYPO3\CMS\Install\Controller\MaintenanceController::databaseAnalyzerAnalyzeAction ( ServerRequestInterface  $request)

Analyze current database situation

Definition at line 225 of file MaintenanceController.php.

◆ databaseAnalyzerExecuteAction()

TYPO3\CMS\Install\Controller\MaintenanceController::databaseAnalyzerExecuteAction ( ServerRequestInterface  $request)

Apply selected database changes

Definition at line 377 of file MaintenanceController.php.

◆ dumpAutoloadAction()

TYPO3\CMS\Install\Controller\MaintenanceController::dumpAutoloadAction ( )

◆ languagePacksActivateLanguageAction()

TYPO3\CMS\Install\Controller\MaintenanceController::languagePacksActivateLanguageAction ( ServerRequestInterface  $request)

Activate a language and any possible dependency it may have

Definition at line 615 of file MaintenanceController.php.

◆ languagePacksDeactivateLanguageAction()

TYPO3\CMS\Install\Controller\MaintenanceController::languagePacksDeactivateLanguageAction ( ServerRequestInterface  $request)

Deactivate a language if no other active language depends on it

Exceptions

Definition at line 677 of file MaintenanceController.php.

◆ languagePacksGetDataAction()

TYPO3\CMS\Install\Controller\MaintenanceController::languagePacksGetDataAction ( ServerRequestInterface  $request)

Entry action of language packs module gets

  • ‪list of available languages with details like active or not and last update
  • ‪list of loaded extensions

Definition at line 582 of file MaintenanceController.php.

References TYPO3\CMS\Install\Controller\AbstractController\initializeView().

◆ languagePacksUpdateIsoTimesAction()

TYPO3\CMS\Install\Controller\MaintenanceController::languagePacksUpdateIsoTimesAction ( ServerRequestInterface  $request)

Set "last updated" time in registry for fully updated language packs.

Definition at line 772 of file MaintenanceController.php.

References $GLOBALS.

◆ languagePacksUpdatePackAction()

TYPO3\CMS\Install\Controller\MaintenanceController::languagePacksUpdatePackAction ( ServerRequestInterface  $request)

Update a pack of one extension and one language

Exceptions

Definition at line 755 of file MaintenanceController.php.

◆ resetBackendUserUcAction()

TYPO3\CMS\Install\Controller\MaintenanceController::resetBackendUserUcAction ( )

Set 'uc' field of all backend users to empty string

Definition at line 793 of file MaintenanceController.php.

Member Data Documentation

◆ $passwordPolicyValidator

PasswordPolicyValidator TYPO3\CMS\Install\Controller\MaintenanceController::$passwordPolicyValidator
protected

Definition at line 55 of file MaintenanceController.php.