Documentation TYPO3 par Ameos |
Public Member Functions | |
| checkForUpdate (&$description) | |
| getUserInput ($inputPrefix) | |
| checkUserInput (&$customMessages) | |
| performUpdate (&$dbQueries, &$customMessages) | |
| compatVersionIsCurrent () | |
| showChangesNeeded ($inputPrefix= '') | |
Public Attributes | |
| $versionNumber | |
| $pObj | |
| $userInput | |
Definition at line 32 of file class.tx_coreupdates_compatversion.php.
| tx_coreupdates_compatversion::checkForUpdate | ( | &$ | description | ) |
Function which checks if update is needed. Called in the beginning of an update process.
| string | pointer to description for the update |
Definition at line 43 of file class.tx_coreupdates_compatversion.php.
References compatVersionIsCurrent().
| tx_coreupdates_compatversion::getUserInput | ( | $ | inputPrefix | ) |
second step: get user input if needed
| string | input prefix, all names of form fields have to start with this. Append custom name in [ ... ] |
Definition at line 73 of file class.tx_coreupdates_compatversion.php.
References compatVersionIsCurrent(), and showChangesNeeded().
| tx_coreupdates_compatversion::checkUserInput | ( | &$ | customMessages | ) |
Checks if user input is valid
| string | pointer to output custom messages |
Definition at line 102 of file class.tx_coreupdates_compatversion.php.
References compatVersionIsCurrent(), and t3lib_div::int_from_ver().
| tx_coreupdates_compatversion::performUpdate | ( | &$ | dbQueries, | |
| &$ | customMessages | |||
| ) |
Performs the update itself
| array | pointer where to insert all DB queries made, so they can be shown to the user if wanted | |
| string | pointer to output custom messages |
Definition at line 136 of file class.tx_coreupdates_compatversion.php.
| tx_coreupdates_compatversion::compatVersionIsCurrent | ( | ) |
checks if compatibility version is set to current version
Definition at line 164 of file class.tx_coreupdates_compatversion.php.
Referenced by checkForUpdate(), checkUserInput(), and getUserInput().
| tx_coreupdates_compatversion::showChangesNeeded | ( | $ | inputPrefix = '' |
) |
show changes needed
| string | input prefix to prepend all form fields with. |
Definition at line 179 of file class.tx_coreupdates_compatversion.php.
References t3lib_div::int_from_ver().
Referenced by getUserInput().
1.4.6