TYPO3
7.6
|
Public Member Functions | |
getTitle () | |
setTitle ($title) | |
getIdentifier () | |
setIdentifier ($identifier) | |
shouldRenderWizard () | |
shouldRenderNextButton () | |
checkIfTableExists ($table) | |
checkForUpdate (&$description) | |
performUpdate (array &$dbQueries, &$customMessages) | |
Public Attributes | |
$pObj | |
$userInput | |
$versionNumber | |
Protected Member Functions | |
markWizardAsDone ($confValue=1) | |
isWizardDone () | |
getDatabaseConnection () | |
Protected Attributes | |
$title | |
$identifier | |
Generic class that every update wizard class inherits from. Used by the update wizard in the install tool.
Definition at line 24 of file AbstractUpdate.php.
|
abstract |
Checks whether updates are required.
string | &$description | The description for the update |
Referenced by AbstractUpdate\shouldRenderNextButton(), and AbstractUpdate\shouldRenderWizard().
checkIfTableExists | ( | $table | ) |
Check if given table exists
string | $table |
Definition at line 146 of file AbstractUpdate.php.
References AbstractUpdate\getDatabaseConnection().
|
protected |
Definition at line 225 of file AbstractUpdate.php.
References $GLOBALS.
Referenced by BackendUserStartModuleUpdate\checkForUpdate(), FileListIsStartModuleUpdate\checkForUpdate(), MigrateMediaToAssetsForTextMediaCe\checkForUpdate(), FilesReplacePermissionUpdate\checkForUpdate(), MigrateShortcutUrlsAgainUpdate\checkForUpdate(), ContentTypesToTextMediaUpdate\checkForUpdate(), WorkspacesNotificationSettingsUpdate\checkForUpdate(), LanguageIsoCodeUpdate\checkForUpdate(), TableFlexFormToTtContentFieldsUpdate\checkForUpdate(), ProcessedFileChecksumUpdate\checkForUpdate(), OpenidExtractionUpdate\checkForUpdate(), MediaceExtractionUpdate\checkForUpdate(), AbstractUpdate\checkIfTableExists(), RteAcronymButtonRenamedToAbbreviation\getPagesWithDeprecatedRteProperties(), DeprecatedRteProperties\getPagesWithDeprecatedRteProperties(), FilesReplacePermissionUpdate\getRecordsFromTable(), PageShortcutParentUpdate\getUpdatablePages(), MigrateShortcutUrlsAgainUpdate\performUpdate(), BackendUserStartModuleUpdate\performUpdate(), FileListIsStartModuleUpdate\performUpdate(), LanguageIsoCodeUpdate\performUpdate(), ProcessedFileChecksumUpdate\performUpdate(), TableFlexFormToTtContentFieldsUpdate\performUpdate(), MigrateMediaToAssetsForTextMediaCe\performUpdate(), PageShortcutParentUpdate\performUpdate(), ContentTypesToTextMediaUpdate\performUpdate(), FilesReplacePermissionUpdate\performUpdate(), WorkspacesNotificationSettingsUpdate\performUpdate(), FinalDatabaseSchemaUpdate\performUpdate(), InitialDatabaseSchemaUpdate\performUpdate(), RteAcronymButtonRenamedToAbbreviation\updatePages(), and DeprecatedRteProperties\updatePages().
getIdentifier | ( | ) |
Returns the identifier of this class
Definition at line 92 of file AbstractUpdate.php.
References AbstractUpdate\$identifier.
Referenced by UpgradeWizard\getNextUpdateInstance().
getTitle | ( | ) |
Returns the title attribute
Definition at line 67 of file AbstractUpdate.php.
References AbstractUpdate\$identifier, and AbstractUpdate\$title.
|
protected |
Checks if this wizard has been "done" before
Definition at line 209 of file AbstractUpdate.php.
References $GLOBALS.
Referenced by BackendUserStartModuleUpdate\checkForUpdate(), FileListIsStartModuleUpdate\checkForUpdate(), MigrateMediaToAssetsForTextMediaCe\checkForUpdate(), MigrateShortcutUrlsAgainUpdate\checkForUpdate(), FilesReplacePermissionUpdate\checkForUpdate(), WorkspacesNotificationSettingsUpdate\checkForUpdate(), ContentTypesToTextMediaUpdate\checkForUpdate(), RteAcronymButtonRenamedToAbbreviation\checkForUpdate(), TableFlexFormToTtContentFieldsUpdate\checkForUpdate(), LanguageIsoCodeUpdate\checkForUpdate(), PageShortcutParentUpdate\checkForUpdate(), ProcessedFileChecksumUpdate\checkForUpdate(), OpenidExtractionUpdate\checkForUpdate(), MediaceExtractionUpdate\checkForUpdate(), Compatibility6ExtractionUpdate\checkForUpdate(), and DeprecatedRteProperties\checkForUpdate().
|
protected |
Marks some wizard as being "seen" so that it not shown again.
Writes the info in LocalConfiguration.php
mixed | $confValue | The configuration is set to this value |
Definition at line 198 of file AbstractUpdate.php.
References GeneralUtility\makeInstance().
Referenced by MigrateMediaToAssetsForTextMediaCe\checkForUpdate(), WorkspacesNotificationSettingsUpdate\checkForUpdate(), BackendUserStartModuleUpdate\performUpdate(), MigrateShortcutUrlsAgainUpdate\performUpdate(), FileListIsStartModuleUpdate\performUpdate(), LanguageIsoCodeUpdate\performUpdate(), ProcessedFileChecksumUpdate\performUpdate(), TableFlexFormToTtContentFieldsUpdate\performUpdate(), MigrateMediaToAssetsForTextMediaCe\performUpdate(), PageShortcutParentUpdate\performUpdate(), ContentTypesToTextMediaUpdate\performUpdate(), FilesReplacePermissionUpdate\performUpdate(), WorkspacesNotificationSettingsUpdate\performUpdate(), RteAcronymButtonRenamedToAbbreviation\performUpdate(), MediaceExtractionUpdate\performUpdate(), OpenidExtractionUpdate\performUpdate(), Compatibility6ExtractionUpdate\performUpdate(), and DeprecatedRteProperties\performUpdate().
|
abstract |
Performs the accordant updates.
array | &$dbQueries | Queries done in this update |
mixed | &$customMessages | Custom messages |
setIdentifier | ( | $identifier | ) |
Sets the identifier attribute
string | $identifier | The identifier of this update wizard |
Definition at line 103 of file AbstractUpdate.php.
References AbstractUpdate\$identifier.
setTitle | ( | $title | ) |
Sets the title attribute
string | $title | The title of this update wizard |
Definition at line 82 of file AbstractUpdate.php.
References AbstractUpdate\$title.
shouldRenderNextButton | ( | ) |
Simple wrapper function that helps to check whether (if) this feature is cool if you want to tell the user that the update wizard is working fine, just as output (useful for the character set / utf8 wizard)
Definition at line 132 of file AbstractUpdate.php.
References AbstractUpdate\checkForUpdate().
shouldRenderWizard | ( | ) |
Simple wrapper function that helps dealing with the compatibility layer that some update wizards don't have a second parameter thus, it evaluates everything already
Definition at line 116 of file AbstractUpdate.php.
References AbstractUpdate\checkForUpdate().
|
protected |
Definition at line 38 of file AbstractUpdate.php.
Referenced by AbstractUpdate\getIdentifier(), AbstractUpdate\getTitle(), and AbstractUpdate\setIdentifier().
$pObj |
Definition at line 45 of file AbstractUpdate.php.
|
protected |
Definition at line 31 of file AbstractUpdate.php.
Referenced by AbstractUpdate\getTitle(), and AbstractUpdate\setTitle().
$userInput |
Definition at line 52 of file AbstractUpdate.php.
$versionNumber |
Definition at line 60 of file AbstractUpdate.php.