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

Public Member Functions

 injectFileHandlingUtility (FileHandlingUtility $fileHandlingUtility)
 
 injectListUtility (ListUtility $listUtility)
 
 injectInstallUtility (InstallUtility $installUtility)
 
 injectRemoteRegistry (RemoteRegistry $remoteRegistry)
 
 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
 
ExtensionModel $extension
 
FileHandlingUtility $fileHandlingUtility
 
ListUtility $listUtility
 
InstallUtility $installUtility
 
RemoteRegistry $remoteRegistry
 

Detailed Description

Download extension from TER

Definition at line 36 of file AbstractDownloadExtensionUpdate.php.

Member Function Documentation

◆ executeUpdate()

TYPO3\CMS\Extensionmanager\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 75 of file AbstractDownloadExtensionUpdate.php.

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

◆ injectFileHandlingUtility()

TYPO3\CMS\Extensionmanager\Updates\AbstractDownloadExtensionUpdate::injectFileHandlingUtility ( FileHandlingUtility  $fileHandlingUtility)

◆ injectInstallUtility()

TYPO3\CMS\Extensionmanager\Updates\AbstractDownloadExtensionUpdate::injectInstallUtility ( InstallUtility  $installUtility)

◆ injectListUtility()

TYPO3\CMS\Extensionmanager\Updates\AbstractDownloadExtensionUpdate::injectListUtility ( ListUtility  $listUtility)

◆ injectRemoteRegistry()

TYPO3\CMS\Extensionmanager\Updates\AbstractDownloadExtensionUpdate::injectRemoteRegistry ( RemoteRegistry  $remoteRegistry)

◆ installExtension()

bool TYPO3\CMS\Extensionmanager\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
ExtensionManagerException

Definition at line 87 of file AbstractDownloadExtensionUpdate.php.

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

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

◆ setOutput()

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

Setter injection for output into upgrade wizards

Implements TYPO3\CMS\Install\Updates\ChattyInterface.

Definition at line 66 of file AbstractDownloadExtensionUpdate.php.

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

Member Data Documentation

◆ $extension

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

◆ $fileHandlingUtility

FileHandlingUtility TYPO3\CMS\Extensionmanager\Updates\AbstractDownloadExtensionUpdate::$fileHandlingUtility
protected

◆ $installUtility

InstallUtility TYPO3\CMS\Extensionmanager\Updates\AbstractDownloadExtensionUpdate::$installUtility
protected

◆ $listUtility

ListUtility TYPO3\CMS\Extensionmanager\Updates\AbstractDownloadExtensionUpdate::$listUtility
protected

◆ $output

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

◆ $remoteRegistry

RemoteRegistry TYPO3\CMS\Extensionmanager\Updates\AbstractDownloadExtensionUpdate::$remoteRegistry
protected