‪TYPO3CMS  9.5
TYPO3\CMS\Install\Updates\LanguageSortingUpdate Class Reference
Inheritance diagram for TYPO3\CMS\Install\Updates\LanguageSortingUpdate:
TYPO3\CMS\Install\Updates\UpgradeWizardInterface

Public Member Functions

string getIdentifier ()
 
string getTitle ()
 
string getDescription ()
 
bool updateNecessary ()
 
string[] getPrerequisites ()
 
bool executeUpdate ()
 

Detailed Description

Update sys_language records to use the newly sorting column, set default sorting from title

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

Definition at line 26 of file LanguageSortingUpdate.php.

Member Function Documentation

◆ executeUpdate()

bool TYPO3\CMS\Install\Updates\LanguageSortingUpdate::executeUpdate ( )

Performs the database update if the sorting field is 0 or null

Returns
‪bool

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 87 of file LanguageSortingUpdate.php.

◆ getDescription()

string TYPO3\CMS\Install\Updates\LanguageSortingUpdate::getDescription ( )
Returns
‪string Longer description of this updater

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 47 of file LanguageSortingUpdate.php.

◆ getIdentifier()

string TYPO3\CMS\Install\Updates\LanguageSortingUpdate::getIdentifier ( )
Returns
‪string Unique identifier of this updater

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 31 of file LanguageSortingUpdate.php.

◆ getPrerequisites()

string [] TYPO3\CMS\Install\Updates\LanguageSortingUpdate::getPrerequisites ( )
Returns
‪string[] All new fields and tables must exist

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 75 of file LanguageSortingUpdate.php.

◆ getTitle()

string TYPO3\CMS\Install\Updates\LanguageSortingUpdate::getTitle ( )
Returns
‪string Title of this updater

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 39 of file LanguageSortingUpdate.php.

◆ updateNecessary()

bool TYPO3\CMS\Install\Updates\LanguageSortingUpdate::updateNecessary ( )

Checks if an update is needed

Returns
‪bool Whether an update is needed (TRUE) or not (FALSE)

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 58 of file LanguageSortingUpdate.php.