SvgFilesSanitization implements UpgradeWizardInterface, ConfirmableInterface

Internal

This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.

Attributes
#[UpgradeWizard]
'svgFilesSanitization'

Table of Contents

Interfaces

UpgradeWizardInterface
Interface UpgradeWizardInterface
ConfirmableInterface
Use if upgrade wizard needs confirmation

Properties

$confirmation  : Confirmation
$storageRepository  : StorageRepository

Methods

__construct()  : mixed
executeUpdate()  : bool
Execute the update
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
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

Methods

executeUpdate()

Execute the update

public executeUpdate() : bool

Called when a wizard reports that an update is necessary

Return values
bool

getDescription()

Return the description for this wizard

public getDescription() : string
Return values
string

getPrerequisites()

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
string

updateNecessary()

To avoid timeout issues, no check is performed in advance

public updateNecessary() : bool
Return values
bool

processSvgFiles()

protected processSvgFiles() : bool
Return values
bool

        
On this page

Search results