AbstractDownloadExtensionUpdate implements UpgradeWizardInterface, ConfirmableInterface, ChattyInterface
AbstractYes
Download extension from TER
Table of Contents
Interfaces
- UpgradeWizardInterface
- Interface UpgradeWizardInterface
- ConfirmableInterface
- Use if upgrade wizard needs confirmation
- ChattyInterface
- Is this upgradeWizard chatty aka does it need to output things?
Properties
- $extension : ExtensionModel
- $fileHandlingUtility : FileHandlingUtility
- $installUtility : InstallUtility
- $listUtility : ListUtility
- $output : OutputInterface
- $remoteRegistry : RemoteRegistry
Methods
- executeUpdate() : bool
- Execute the update Called when a wizard reports that an update is necessary
- injectFileHandlingUtility() : void
- injectInstallUtility() : void
- injectListUtility() : void
- injectRemoteRegistry() : void
- setOutput() : void
- Setter injection for output into upgrade wizards
- installExtension() : bool
- This method can be called to install an extension following all proper processes (e.g. installing in extList, respecting priority, etc.)
Properties
$extension
protected
ExtensionModel
$extension
$fileHandlingUtility
protected
FileHandlingUtility
$fileHandlingUtility
$installUtility
protected
InstallUtility
$installUtility
$listUtility
protected
ListUtility
$listUtility
$output
protected
OutputInterface
$output
$remoteRegistry
protected
RemoteRegistry
$remoteRegistry
Methods
executeUpdate()
Execute the update Called when a wizard reports that an update is necessary
public
executeUpdate() : bool
Return values
boolinjectFileHandlingUtility()
public
injectFileHandlingUtility(FileHandlingUtility $fileHandlingUtility) : void
Parameters
- $fileHandlingUtility : FileHandlingUtility
injectInstallUtility()
public
injectInstallUtility(InstallUtility $installUtility) : void
Parameters
- $installUtility : InstallUtility
injectListUtility()
public
injectListUtility(ListUtility $listUtility) : void
Parameters
- $listUtility : ListUtility
injectRemoteRegistry()
public
injectRemoteRegistry(RemoteRegistry $remoteRegistry) : void
Parameters
- $remoteRegistry : RemoteRegistry
setOutput()
Setter injection for output into upgrade wizards
public
setOutput(OutputInterface $output) : void
Parameters
- $output : OutputInterface
installExtension()
This method can be called to install an extension following all proper processes (e.g. installing in extList, respecting priority, etc.)
protected
installExtension(ExtensionModel $extension) : bool
Parameters
- $extension : ExtensionModel
Tags
Return values
bool —whether the installation worked or not