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
- $output : OutputInterface
Methods
- executeUpdate() : bool
- Execute the update Called when a wizard reports that an update is necessary
- 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
$output
protected
OutputInterface
$output
Methods
executeUpdate()
Execute the update Called when a wizard reports that an update is necessary
public
executeUpdate() : bool
Return values
boolsetOutput()
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