TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Install\Updates\Compatibility6ExtractionUpdate Class Reference
Inheritance diagram for TYPO3\CMS\Install\Updates\Compatibility6ExtractionUpdate:
TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate TYPO3\CMS\Install\Updates\AbstractUpdate

Public Member Functions

 checkForUpdate (&$description)
 
 getUserInput ($inputPrefix)
 
 performUpdate (array &$databaseQueries, &$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 Attributes

 $title = 'Installs extension "compatibility6" from TER'
 
 $extensionKey = 'compatibility6'
 
 $extensionDetails
 
- Protected Attributes inherited from TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate
 $title = 'Install an Extension from the Extension Repository'
 
 $extensionDetails = []
 
 $repositoryUrl = 'https://typo3.org/fileadmin/ter/@filename'
 
- 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
 
- Protected Member Functions inherited from TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate
 getExtensionDetails ($extensionKey)
 
 fetchExtension ($extensionKey, $version)
 
 fetchUrl ($url)
 
- Protected Member Functions inherited from TYPO3\CMS\Install\Updates\AbstractUpdate
 markWizardAsDone ($confValue=1)
 
 isWizardDone ()
 
 getDatabaseConnection ()
 

Detailed Description

Installs and downloads EXT:compatibility6 if needed

Definition at line 22 of file Compatibility6ExtractionUpdate.php.

Member Function Documentation

◆ checkForUpdate()

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

Checks if an update is needed

Parameters
string$descriptionThe description for the update
Returns
bool Whether an update is needed (true) or not (false)

Definition at line 51 of file Compatibility6ExtractionUpdate.php.

References TYPO3\CMS\Install\Updates\AbstractUpdate\isWizardDone().

◆ getUserInput()

TYPO3\CMS\Install\Updates\Compatibility6ExtractionUpdate::getUserInput (   $inputPrefix)

Second step: Ask user to install the extension

Parameters
string$inputPrefixinput prefix, all names of form fields have to start with this. Append custom name in [ ... ]
Returns
string HTML output

Definition at line 71 of file Compatibility6ExtractionUpdate.php.

◆ performUpdate()

TYPO3\CMS\Install\Updates\Compatibility6ExtractionUpdate::performUpdate ( array &  $databaseQueries,
$customMessages 
)

Performs the update if EXT:compatibility6 should be installed.

Parameters
array$databaseQueriesQueries done in this update
mixed$customMessagesCustom messages
Returns
bool

Definition at line 100 of file Compatibility6ExtractionUpdate.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\_GP(), and TYPO3\CMS\Install\Updates\AbstractUpdate\markWizardAsDone().

Member Data Documentation

◆ $extensionDetails

TYPO3\CMS\Install\Updates\Compatibility6ExtractionUpdate::$extensionDetails
protected
Initial value:
= [
'compatibility6' => [
'title' => 'Compatibility Mode for TYPO3 CMS 6.x'

Definition at line 37 of file Compatibility6ExtractionUpdate.php.

◆ $extensionKey

TYPO3\CMS\Install\Updates\Compatibility6ExtractionUpdate::$extensionKey = 'compatibility6'
protected

Definition at line 32 of file Compatibility6ExtractionUpdate.php.

◆ $title

TYPO3\CMS\Install\Updates\Compatibility6ExtractionUpdate::$title = 'Installs extension "compatibility6" from TER'
protected

Definition at line 27 of file Compatibility6ExtractionUpdate.php.