TYPO3
7.6
|
Public Member Functions | |
checkForUpdate (&$description) | |
performUpdate (array &$databaseQueries, &$customMessages) | |
Public Member Functions inherited from AbstractUpdate | |
getTitle () | |
setTitle ($title) | |
getIdentifier () | |
setIdentifier ($identifier) | |
shouldRenderWizard () | |
shouldRenderNextButton () | |
checkIfTableExists ($table) | |
checkForUpdate (&$description) | |
performUpdate (array &$dbQueries, &$customMessages) | |
Protected Attributes | |
$title = 'Update sys_language records to use new ISO 639-1 letter-code field' | |
Protected Attributes inherited from AbstractUpdate | |
$title | |
$identifier | |
Additional Inherited Members | |
Public Attributes inherited from AbstractUpdate | |
$pObj | |
$userInput | |
$versionNumber | |
Protected Member Functions inherited from AbstractUpdate | |
markWizardAsDone ($confValue=1) | |
isWizardDone () | |
getDatabaseConnection () | |
Update sys_language records to use the newly created field language_isocode, if they have used the now deprecated static_lang_isocode
Definition at line 23 of file LanguageIsoCodeUpdate.php.
checkForUpdate | ( | & | $description | ) |
Checks if an update is needed
string | &$description | The description for the update |
Definition at line 36 of file LanguageIsoCodeUpdate.php.
References AbstractUpdate\getDatabaseConnection(), ExtensionManagementUtility\isLoaded(), and AbstractUpdate\isWizardDone().
performUpdate | ( | array & | $databaseQueries, |
& | $customMessages | ||
) |
Performs the database update if the old field "static_lang_isocode" is in use and populates the new field "language_isocode" with the data of the old relation.
array | &$databaseQueries | Queries done in this update |
mixed | &$customMessages | Custom messages |
Definition at line 62 of file LanguageIsoCodeUpdate.php.
References AbstractUpdate\getDatabaseConnection(), and AbstractUpdate\markWizardAsDone().
|
protected |
Definition at line 28 of file LanguageIsoCodeUpdate.php.