‪TYPO3CMS  ‪main
TYPO3\CMS\Extensionmanager\Updates\FeLoginModeExtractionUpdate Class Reference
Inheritance diagram for TYPO3\CMS\Extensionmanager\Updates\FeLoginModeExtractionUpdate:
TYPO3\CMS\Extensionmanager\Updates\AbstractDownloadExtensionUpdate TYPO3\CMS\Install\Updates\UpgradeWizardInterface TYPO3\CMS\Install\Updates\ConfirmableInterface TYPO3\CMS\Install\Updates\ChattyInterface

Public Member Functions

 __construct (private readonly ConnectionPool $connectionPool)
 
 getConfirmation ()
 
 getTitle ()
 
 getDescription ()
 
 updateNecessary ()
 
 getPrerequisites ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extensionmanager\Updates\AbstractDownloadExtensionUpdate
 injectFileHandlingUtility (FileHandlingUtility $fileHandlingUtility)
 
 injectListUtility (ListUtility $listUtility)
 
 injectInstallUtility (InstallUtility $installUtility)
 
 injectRemoteRegistry (RemoteRegistry $remoteRegistry)
 
 setOutput (OutputInterface $output)
 
 executeUpdate ()
 

Protected Member Functions

 columnExists ()
 
 functionalityUsed ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extensionmanager\Updates\AbstractDownloadExtensionUpdate
bool installExtension (ExtensionModel $extension)
 

Private Attributes

const TABLE_NAME = 'pages'
 
const FIELD_NAME = 'fe_login_mode'
 

Additional Inherited Members

- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extensionmanager\Updates\AbstractDownloadExtensionUpdate
OutputInterface $output
 
ExtensionModel $extension
 
FileHandlingUtility $fileHandlingUtility
 
ListUtility $listUtility
 
InstallUtility $installUtility
 
RemoteRegistry $remoteRegistry
 

Detailed Description

Installs and downloads EXT:fe_login_mode

Since
12.1

This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.

Definition at line 32 of file FeLoginModeExtractionUpdate.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Extensionmanager\Updates\FeLoginModeExtractionUpdate::__construct ( private readonly ConnectionPool  $connectionPool)

Definition at line 37 of file FeLoginModeExtractionUpdate.php.

Member Function Documentation

◆ columnExists()

TYPO3\CMS\Extensionmanager\Updates\FeLoginModeExtractionUpdate::columnExists ( )
protected

Checks if the column still exists in the database, otherwise it's no longer possible to determine whether the functionality was previously used.

Definition at line 103 of file FeLoginModeExtractionUpdate.php.

Referenced by TYPO3\CMS\Extensionmanager\Updates\FeLoginModeExtractionUpdate\updateNecessary().

◆ functionalityUsed()

TYPO3\CMS\Extensionmanager\Updates\FeLoginModeExtractionUpdate::functionalityUsed ( )
protected

Check if the functionality was used by checking if at least one page defines another value than the default (0) for the fe_login_mode field.

Definition at line 116 of file FeLoginModeExtractionUpdate.php.

Referenced by TYPO3\CMS\Extensionmanager\Updates\FeLoginModeExtractionUpdate\updateNecessary().

◆ getConfirmation()

TYPO3\CMS\Extensionmanager\Updates\FeLoginModeExtractionUpdate::getConfirmation ( )

Return a confirmation message instance

Implements TYPO3\CMS\Install\Updates\ConfirmableInterface.

Definition at line 51 of file FeLoginModeExtractionUpdate.php.

◆ getDescription()

TYPO3\CMS\Extensionmanager\Updates\FeLoginModeExtractionUpdate::getDescription ( )

Return the description for this wizard

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 71 of file FeLoginModeExtractionUpdate.php.

◆ getPrerequisites()

TYPO3\CMS\Extensionmanager\Updates\FeLoginModeExtractionUpdate::getPrerequisites ( )

Returns an array of class names of Prerequisite classes This way a wizard can define dependencies like "database up-to-date" or "reference index updated"

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 94 of file FeLoginModeExtractionUpdate.php.

◆ getTitle()

TYPO3\CMS\Extensionmanager\Updates\FeLoginModeExtractionUpdate::getTitle ( )

Return the speaking name of this wizard

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 63 of file FeLoginModeExtractionUpdate.php.

◆ updateNecessary()

TYPO3\CMS\Extensionmanager\Updates\FeLoginModeExtractionUpdate::updateNecessary ( )

Member Data Documentation

◆ FIELD_NAME

const TYPO3\CMS\Extensionmanager\Updates\FeLoginModeExtractionUpdate::FIELD_NAME = 'fe_login_mode'
private

Definition at line 35 of file FeLoginModeExtractionUpdate.php.

◆ TABLE_NAME

const TYPO3\CMS\Extensionmanager\Updates\FeLoginModeExtractionUpdate::TABLE_NAME = 'pages'
private

Definition at line 34 of file FeLoginModeExtractionUpdate.php.