TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Install\Controller\Action\Tool\UpgradeWizard Class Reference
Inheritance diagram for TYPO3\CMS\Install\Controller\Action\Tool\UpgradeWizard:
TYPO3\CMS\Install\Controller\Action\AbstractAction TYPO3\CMS\Install\Controller\Action\ActionInterface

Protected Member Functions

 executeAction ()
 
 getUpgradeObjectInstance ($className, $identifier)
 
 getNextUpgradeWizardInstance ($currentObj)
 
 getDatabaseConnection ()
 
- Protected Member Functions inherited from TYPO3\CMS\Install\Controller\Action\AbstractAction
 initializeHandle ()
 
 executeAction ()
 
 isDbalEnabled ()
 
 getContext ()
 
 loadExtLocalconfDatabaseAndExtTables ()
 
 getHashedPassword ($password)
 

Protected Attributes

 $needsInitialUpdateDatabaseSchema = FALSE
 
- Protected Attributes inherited from TYPO3\CMS\Install\Controller\Action\AbstractAction
 $objectManager = NULL
 
 $view = NULL
 
 $controller = ''
 
 $action = ''
 
 $token = ''
 
 $postValues = array()
 
 $lastError = array()
 
 $messages = array()
 

Additional Inherited Members

- Public Member Functions inherited from TYPO3\CMS\Install\Controller\Action\AbstractAction
 injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManager $objectManager)
 
 injectView (\TYPO3\CMS\Install\View\FailsafeView $view)
 
 handle ()
 
 setToken ($token)
 
 setController ($controller)
 
 setAction ($action)
 
 setPostValues (array $postValues)
 
 setLastError (array $lastError)
 
 setMessages (array $messages=array())
 

Detailed Description

Handle update wizards

Definition at line 23 of file UpgradeWizard.php.

Member Function Documentation

◆ executeAction()

◆ getDatabaseConnection()

TYPO3\CMS\Install\Controller\Action\Tool\UpgradeWizard::getDatabaseConnection ( )
protected

Overwrite getDatabase method of abstract!

Returns $GLOBALS['TYPO3_DB'] directly, since this global is instantiated properly in update wizards

Returns

Definition at line 306 of file UpgradeWizard.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Install\Controller\Action\Tool\UpgradeWizard\executeAction().

◆ getNextUpgradeWizardInstance()

TYPO3\CMS\Install\Controller\Action\Tool\UpgradeWizard::getNextUpgradeWizardInstance (   $currentObj)
protected

Returns the next upgrade wizard object Used to show the link/button to the next upgrade wizard

Parameters
object$currentObjCurrent update wizard object
Returns
mixed Upgrade wizard instance or FALSE

Definition at line 249 of file UpgradeWizard.php.

References $GLOBALS, and TYPO3\CMS\Install\Controller\Action\Tool\UpgradeWizard\getUpgradeObjectInstance().

Referenced by TYPO3\CMS\Install\Controller\Action\Tool\UpgradeWizard\executeAction().

◆ getUpgradeObjectInstance()

TYPO3\CMS\Install\Controller\Action\Tool\UpgradeWizard::getUpgradeObjectInstance (   $className,
  $identifier 
)
protected

Creates instance of an upgrade object, setting the pObj, versionNumber and userInput

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

Definition at line 232 of file UpgradeWizard.php.

References TYPO3\CMS\Install\Controller\Action\AbstractAction\$postValues, TYPO3\CMS\Core\Utility\VersionNumberUtility\convertVersionNumberToInteger(), and TYPO3\CMS\Core\Utility\GeneralUtility\getUserObj().

Referenced by TYPO3\CMS\Install\Controller\Action\Tool\UpgradeWizard\executeAction(), and TYPO3\CMS\Install\Controller\Action\Tool\UpgradeWizard\getNextUpgradeWizardInstance().

Member Data Documentation

◆ $needsInitialUpdateDatabaseSchema

TYPO3\CMS\Install\Controller\Action\Tool\UpgradeWizard::$needsInitialUpdateDatabaseSchema = FALSE
protected