TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
Compatibility6ExtractionUpdate Class Reference
Inheritance diagram for Compatibility6ExtractionUpdate:
AbstractDownloadExtensionUpdate AbstractUpdate

Public Member Functions

 checkForUpdate (&$description)
 
 getUserInput ($inputPrefix)
 
 performUpdate (array &$databaseQueries, &$customMessages)
 

Protected Attributes

 $title = 'Installs extension "compatibility6" from TER'
 
 $extensionKey = 'compatibility6'
 
 $extensionDetails
 
- Protected Attributes inherited from AbstractDownloadExtensionUpdate
 $title = 'Install an Extension from the Extension Repository'
 
 $extensionDetails = []
 
 $repositoryUrl = 'https://typo3.org/fileadmin/ter/@filename'
 
- Protected Attributes inherited from AbstractUpdate
 $title
 
 $identifier
 

Additional Inherited Members

- Public Attributes inherited from AbstractUpdate
 $pObj
 
 $userInput
 
 $versionNumber
 
- Protected Member Functions inherited from AbstractDownloadExtensionUpdate
 getExtensionDetails ($extensionKey)
 
 fetchExtension ($extensionKey, $version)
 
 fetchUrl ($url)
 

Detailed Description

Installs and downloads EXT:compatibility6 if needed

Definition at line 22 of file Compatibility6ExtractionUpdate.php.

Member Function Documentation

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 AbstractUpdate\isWizardDone().

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 ( 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 GeneralUtility\_GP(), and AbstractUpdate\markWizardAsDone().

Member Data Documentation

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

Definition at line 37 of file Compatibility6ExtractionUpdate.php.

$extensionKey = 'compatibility6'
protected

Definition at line 32 of file Compatibility6ExtractionUpdate.php.

$title = 'Installs extension "compatibility6" from TER'
protected

Definition at line 27 of file Compatibility6ExtractionUpdate.php.