‪TYPO3CMS  11.5
TYPO3\CMS\Install\Updates\BackendUserLanguageMigration Class Reference
Inheritance diagram for TYPO3\CMS\Install\Updates\BackendUserLanguageMigration:
TYPO3\CMS\Install\Updates\UpgradeWizardInterface

Public Member Functions

 getIdentifier ()
 
 getTitle ()
 
 getDescription ()
 
 getPrerequisites ()
 
 updateNecessary ()
 
 executeUpdate ()
 

Protected Member Functions

 hasRecordsToUpdate ()
 
 getRecordsToUpdate ()
 
 getPreparedQueryBuilder ()
 
 getConnectionPool ()
 

Private Attributes

const TABLE_NAME = 'be_users'
 

Detailed Description

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

Definition at line 27 of file BackendUserLanguageMigration.php.

Member Function Documentation

◆ executeUpdate()

TYPO3\CMS\Install\Updates\BackendUserLanguageMigration::executeUpdate ( )

Execute the update

Called when a wizard reports that an update is necessary

Returns
‪bool

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 58 of file BackendUserLanguageMigration.php.

References TYPO3\CMS\Install\Updates\BackendUserLanguageMigration\getConnectionPool(), and TYPO3\CMS\Install\Updates\BackendUserLanguageMigration\getRecordsToUpdate().

◆ getConnectionPool()

TYPO3\CMS\Install\Updates\BackendUserLanguageMigration::getConnectionPool ( )
protected

◆ getDescription()

TYPO3\CMS\Install\Updates\BackendUserLanguageMigration::getDescription ( )

Return the description for this wizard

Returns
‪string

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 41 of file BackendUserLanguageMigration.php.

◆ getIdentifier()

TYPO3\CMS\Install\Updates\BackendUserLanguageMigration::getIdentifier ( )

Return the identifier for this wizard This should be the same string as used in the ext_localconf class registration

Returns
‪string

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 31 of file BackendUserLanguageMigration.php.

◆ getPreparedQueryBuilder()

◆ getPrerequisites()

TYPO3\CMS\Install\Updates\BackendUserLanguageMigration::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"

Returns
‪string[]

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 46 of file BackendUserLanguageMigration.php.

◆ getRecordsToUpdate()

TYPO3\CMS\Install\Updates\BackendUserLanguageMigration::getRecordsToUpdate ( )
protected

◆ getTitle()

TYPO3\CMS\Install\Updates\BackendUserLanguageMigration::getTitle ( )

Return the speaking name of this wizard

Returns
‪string

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 36 of file BackendUserLanguageMigration.php.

◆ hasRecordsToUpdate()

TYPO3\CMS\Install\Updates\BackendUserLanguageMigration::hasRecordsToUpdate ( )
protected

◆ updateNecessary()

TYPO3\CMS\Install\Updates\BackendUserLanguageMigration::updateNecessary ( )

Is an update necessary?

Is used to determine whether a wizard needs to be run. Check if data for migration exists.

Returns
‪bool

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 53 of file BackendUserLanguageMigration.php.

References TYPO3\CMS\Install\Updates\BackendUserLanguageMigration\hasRecordsToUpdate().

Member Data Documentation

◆ TABLE_NAME

const TYPO3\CMS\Install\Updates\BackendUserLanguageMigration::TABLE_NAME = 'be_users'
private

Definition at line 29 of file BackendUserLanguageMigration.php.