SvgFilesSanitization implements UpgradeWizardInterface, ConfirmableInterface
Table of Contents
Interfaces
- UpgradeWizardInterface
- Interface UpgradeWizardInterface
- ConfirmableInterface
- Use if upgrade wizard needs confirmation
Properties
Methods
- __construct() : mixed
- executeUpdate() : bool
- Execute the update
- getConfirmation() : Confirmation
- Return a confirmation message instance
- getDescription() : string
- Return the description for this wizard
- getIdentifier() : string
- Return the identifier for this wizard This should be the same string as used in the ext_localconf class registration
- getPrerequisites() : array<string|int, string>
- Returns an array of class names of Prerequisite classes
- getTitle() : string
- Return the speaking name of this wizard
- updateNecessary() : bool
- To avoid timeout issues, no check is performed in advance
- processSvgFiles() : bool
- resolveLocalStorages() : array<string|int, ResourceStorage>
- resolveSvgFiles() : array<string|int, File>
Properties
$confirmation
protected
Confirmation
$confirmation
$storageRepository
protected
StorageRepository
$storageRepository
Methods
__construct()
public
__construct() : mixed
executeUpdate()
Execute the update
public
executeUpdate() : bool
Called when a wizard reports that an update is necessary
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
stringgetIdentifier()
Return the identifier for this wizard This should be the same string as used in the ext_localconf class registration
public
getIdentifier() : string
Return values
stringgetPrerequisites()
Returns an array of class names of Prerequisite classes
public
getPrerequisites() : array<string|int, string>
This way a wizard can define dependencies like "database up-to-date" or "reference index updated"
Return values
array<string|int, string>getTitle()
Return the speaking name of this wizard
public
getTitle() : string
Return values
stringupdateNecessary()
To avoid timeout issues, no check is performed in advance
public
updateNecessary() : bool
Return values
boolprocessSvgFiles()
protected
processSvgFiles() : bool
Return values
boolresolveLocalStorages()
protected
resolveLocalStorages() : array<string|int, ResourceStorage>
Return values
array<string|int, ResourceStorage>resolveSvgFiles()
protected
resolveSvgFiles(ResourceStorage $storage) : array<string|int, File>
Parameters
- $storage : ResourceStorage