TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Install\Updates\InitUpdateWizard Class Reference
Inheritance diagram for TYPO3\CMS\Install\Updates\InitUpdateWizard:
TYPO3\CMS\Install\Updates\AbstractUpdate Tx_Install_Updates_File_InitUpdateWizard

Public Member Functions

 __construct ()
 
 checkForUpdate (&$description)
 
 performUpdate (array &$dbQueries, &$customMessages)
 
- Public Member Functions inherited from TYPO3\CMS\Install\Updates\AbstractUpdate
 getTitle ()
 
 setTitle ($title)
 
 getIdentifier ()
 
 setIdentifier ($identifier)
 
 shouldRenderWizard ()
 
 shouldRenderNextButton ()
 
 checkIfTableExists ($table)
 
 checkForUpdate (&$description)
 
 performUpdate (array &$dbQueries, &$customMessages)
 

Protected Member Functions

 getRequiredUpdates ()
 
- Protected Member Functions inherited from TYPO3\CMS\Install\Updates\AbstractUpdate
 markWizardAsDone ($confValue=1)
 
 isWizardDone ()
 
 getDatabaseConnection ()
 

Protected Attributes

 $title = 'Initialize database tables for the File Abstraction Layer (FAL)'
 
 $installerSql
 
- Protected Attributes inherited from TYPO3\CMS\Install\Updates\AbstractUpdate
 $title
 
 $identifier
 

Additional Inherited Members

- Public Attributes inherited from TYPO3\CMS\Install\Updates\AbstractUpdate
 $pObj
 
 $userInput
 
 $versionNumber
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Upgrade wizard which creates all sys_file* tables. Required to ensure that all other FAL migration wizards can run properly.

Author
Tolleiv Nietsch info@.nosp@m.toll.nosp@m.eiv.d.nosp@m.e

Definition at line 23 of file InitUpdateWizard.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\Updates\InitUpdateWizard::__construct ( )

Creates this object.

Definition at line 38 of file InitUpdateWizard.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Member Function Documentation

◆ checkForUpdate()

TYPO3\CMS\Install\Updates\InitUpdateWizard::checkForUpdate ( $description)

Checks if an update is needed

Parameters
string&$descriptionThe description for the update
Returns
boolean TRUE if an update is needed, FALSE otherwise

Definition at line 48 of file InitUpdateWizard.php.

References TYPO3\CMS\Install\Updates\InitUpdateWizard\getRequiredUpdates().

◆ getRequiredUpdates()

TYPO3\CMS\Install\Updates\InitUpdateWizard::getRequiredUpdates ( )
protected

◆ performUpdate()

TYPO3\CMS\Install\Updates\InitUpdateWizard::performUpdate ( array &  $dbQueries,
$customMessages 
)

Performs the database update.

Parameters
array&$dbQueriesQueries done in this update
mixed&$customMessagesCustom messages
Returns
boolean TRUE on success, FALSE on error

Definition at line 60 of file InitUpdateWizard.php.

References $GLOBALS, and TYPO3\CMS\Install\Updates\InitUpdateWizard\getRequiredUpdates().

Member Data Documentation

◆ $installerSql

TYPO3\CMS\Install\Updates\InitUpdateWizard::$installerSql
protected

Definition at line 33 of file InitUpdateWizard.php.

◆ $title

TYPO3\CMS\Install\Updates\InitUpdateWizard::$title = 'Initialize database tables for the File Abstraction Layer (FAL)'
protected

Definition at line 28 of file InitUpdateWizard.php.