TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
UpgradeWizard Class Reference
Inheritance diagram for UpgradeWizard:
AbstractAction ActionInterface

Protected Member Functions

 recheckWizards ()
 
 getUpdateObjectInstance ($className, $identifier)
 
 getNextUpdateInstance (AbstractUpdate $currentUpdate)
 
 silentCacheFrameworkTableSchemaMigration ()
 
- Protected Member Functions inherited from AbstractAction
 initializeHandle ()
 
 executeAction ()
 
 getContext ()
 
 loadExtLocalconfDatabaseAndExtTables ()
 
 getHashedPassword ($password)
 

Protected Attributes

 $needsInitialUpdateDatabaseSchema = false
 
- Protected Attributes inherited from AbstractAction
 $view = null
 
 $controller = ''
 
 $action = ''
 
 $token = ''
 
 $postValues = []
 
 $lastError = []
 
 $messages = []
 

Additional Inherited Members

- Public Member Functions inherited from AbstractAction
 handle ()
 
 setToken ($token)
 
 setController ($controller)
 
 setAction ($action)
 
 setPostValues (array $postValues)
 
 setLastError (array $lastError)
 
 setMessages (array $messages=[])
 

Detailed Description

Handle update wizards

Definition at line 31 of file UpgradeWizard.php.

Member Function Documentation

getNextUpdateInstance ( AbstractUpdate  $currentUpdate)
protected

Returns the next Update object Used to show the link/button to the next Update

Parameters
AbstractUpdate$currentUpdateCurrent Update object
Returns
AbstractUpdate|NULL

Definition at line 322 of file UpgradeWizard.php.

References $GLOBALS, AbstractUpdate\getIdentifier(), and UpgradeWizard\getUpdateObjectInstance().

getUpdateObjectInstance (   $className,
  $identifier 
)
protected

Creates instance of an Update object

Parameters
string$classNameThe class name
string$identifierThe identifier of Update object - needed to fetch user input
Returns
AbstractUpdate Newly instantiated Update object

Definition at line 308 of file UpgradeWizard.php.

References VersionNumberUtility\convertVersionNumberToInteger(), and GeneralUtility\makeInstance().

Referenced by UpgradeWizard\getNextUpdateInstance(), and UpgradeWizard\recheckWizards().

recheckWizards ( )
protected

Rechecks whether the chosen wizards should be executed

Returns

Definition at line 211 of file UpgradeWizard.php.

References $GLOBALS, UpgradeWizard\getUpdateObjectInstance(), and GeneralUtility\makeInstance().

silentCacheFrameworkTableSchemaMigration ( )
protected

Force creation / update of caching framework tables that are needed by some update wizards

: See also the other remarks on this topic in the abstract class, this whole area needs improvements

Returns
void
Exceptions
TYPO3
TYPO3
TYPO3
TYPO3
RuntimeException
Doctrine
InvalidArgumentException
Doctrine

Definition at line 358 of file UpgradeWizard.php.

References GeneralUtility\makeInstance().

Member Data Documentation

$needsInitialUpdateDatabaseSchema = false
protected

Definition at line 38 of file UpgradeWizard.php.