‪TYPO3CMS  ‪main
TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate Class Reference
Inheritance diagram for TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate:
TYPO3\CMS\Install\Updates\UpgradeWizardInterface TYPO3\CMS\Install\Updates\ConfirmableInterface TYPO3\CMS\Install\Updates\ChattyInterface TYPO3\CMS\Install\Updates\FeLoginModeExtractionUpdate

Public Member Functions

 setOutput (OutputInterface $output)
 
 executeUpdate ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Install\Updates\UpgradeWizardInterface
 getTitle ()
 
 getDescription ()
 
 updateNecessary ()
 
string[] getPrerequisites ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Install\Updates\ConfirmableInterface
 getConfirmation ()
 

Protected Member Functions

bool installExtension (ExtensionModel $extension)
 

Protected Attributes

OutputInterface $output
 
TYPO3 CMS Install Updates ExtensionModel $extension
 

Detailed Description

Download extension from TER

Definition at line 31 of file AbstractDownloadExtensionUpdate.php.

Member Function Documentation

◆ executeUpdate()

TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate::executeUpdate ( )

Execute the update Called when a wizard reports that an update is necessary

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 50 of file AbstractDownloadExtensionUpdate.php.

References TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate\installExtension().

◆ installExtension()

bool TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate::installExtension ( ExtensionModel  $extension)
protected

This method can be called to install an extension following all proper processes (e.g. installing in extList, respecting priority, etc.)

Returns
‪bool whether the installation worked or not
Exceptions

Definition at line 62 of file AbstractDownloadExtensionUpdate.php.

References TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate\$extension, TYPO3\CMS\Install\Updates\ExtensionModel\getComposerName(), TYPO3\CMS\Install\Updates\ExtensionModel\getKey(), TYPO3\CMS\Install\Updates\ExtensionModel\getVersionString(), and TYPO3\CMS\Core\Core\Environment\isComposerMode().

Referenced by TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate\executeUpdate().

◆ setOutput()

TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate::setOutput ( OutputInterface  $output)

Setter injection for output into upgrade wizards

Implements TYPO3\CMS\Install\Updates\ChattyInterface.

Definition at line 41 of file AbstractDownloadExtensionUpdate.php.

References TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate\$output.

Member Data Documentation

◆ $extension

TYPO3 CMS Install Updates ExtensionModel TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate::$extension
protected

◆ $output

OutputInterface TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate::$output
protected