CollectionsExtractionUpdate extends AbstractDownloadExtensionUpdate
Installs and downloads EXT:legacy_collections if requested
This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.
Attributes
- #[UpgradeWizard]
- 'legacyCollectionsExtension'
Table of Contents
Properties
- $confirmation : Confirmation
- $extension : ExtensionModel
- $output : OutputInterface
Methods
- __construct() : mixed
- executeUpdate() : bool
- Execute the update Called when a wizard reports that an update is necessary
- getConfirmation() : Confirmation
- Return a confirmation message instance
- getDescription() : string
- Return the description for this wizard
- getPrerequisites() : array<string|int, string>
- Returns an array of class names of Prerequisite classes This way a wizard can define dependencies like "database up-to-date" or "reference index updated"
- getTitle() : string
- Return the speaking name of this wizard
- setOutput() : void
- Setter injection for output into upgrade wizards
- updateNecessary() : bool
- Is an update necessary? Is used to determine whether a wizard needs to be run.
- installExtension() : bool
- This method can be called to install an extension following all proper processes (e.g. installing in extList, respecting priority, etc.)
Properties
$confirmation
protected
Confirmation
$confirmation
$extension
protected
ExtensionModel
$extension
$output
protected
OutputInterface
$output
Methods
__construct()
public
__construct() : mixed
executeUpdate()
Execute the update Called when a wizard reports that an update is necessary
public
executeUpdate() : bool
Return values
boolgetConfirmation()
Return a confirmation message instance
public
getConfirmation() : Confirmation
Return values
ConfirmationgetDescription()
Return the description for this wizard
public
getDescription() : string
Return values
stringgetPrerequisites()
Returns an array of class names of Prerequisite classes This way a wizard can define dependencies like "database up-to-date" or "reference index updated"
public
getPrerequisites() : array<string|int, string>
Return values
array<string|int, string>getTitle()
Return the speaking name of this wizard
public
getTitle() : string
Return values
stringsetOutput()
Setter injection for output into upgrade wizards
public
setOutput(OutputInterface $output) : void
Parameters
- $output : OutputInterface
updateNecessary()
Is an update necessary? Is used to determine whether a wizard needs to be run.
public
updateNecessary() : bool
Return values
boolinstallExtension()
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