‪TYPO3CMS  10.4
TYPO3\CMS\Install\Updates\SvgFilesSanitization Class Reference
Inheritance diagram for TYPO3\CMS\Install\Updates\SvgFilesSanitization:
TYPO3\CMS\Install\Updates\UpgradeWizardInterface TYPO3\CMS\Install\Updates\ConfirmableInterface

Public Member Functions

 __construct ()
 
string getIdentifier ()
 
string getTitle ()
 
string getDescription ()
 
bool updateNecessary ()
 
bool executeUpdate ()
 
string[] getPrerequisites ()
 
Confirmation getConfirmation ()
 

Protected Member Functions

ResourceStorage[] resolveLocalStorages ()
 
File[] resolveSvgFiles (ResourceStorage $storage)
 
 processSvgFiles ()
 

Protected Attributes

StorageRepository $storageRepository
 
Confirmation $confirmation
 

Detailed Description

Definition at line 28 of file SvgFilesSanitization.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\Updates\SvgFilesSanitization::__construct ( )

Member Function Documentation

◆ executeUpdate()

bool TYPO3\CMS\Install\Updates\SvgFilesSanitization::executeUpdate ( )

Execute the update

Called when a wizard reports that an update is necessary

Returns
‪bool

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 101 of file SvgFilesSanitization.php.

References TYPO3\CMS\Install\Updates\SvgFilesSanitization\processSvgFiles().

◆ getConfirmation()

Confirmation TYPO3\CMS\Install\Updates\SvgFilesSanitization::getConfirmation ( )

Return a confirmation message instance

Returns
Confirmation

Implements TYPO3\CMS\Install\Updates\ConfirmableInterface.

Definition at line 124 of file SvgFilesSanitization.php.

References TYPO3\CMS\Install\Updates\SvgFilesSanitization\$confirmation.

◆ getDescription()

string TYPO3\CMS\Install\Updates\SvgFilesSanitization::getDescription ( )

Return the description for this wizard

Returns
‪string

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 77 of file SvgFilesSanitization.php.

Referenced by TYPO3\CMS\Install\Updates\SvgFilesSanitization\__construct().

◆ getIdentifier()

string TYPO3\CMS\Install\Updates\SvgFilesSanitization::getIdentifier ( )

Return the identifier for this wizard This should be the same string as used in the ext_localconf class registration

Returns
‪string

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 57 of file SvgFilesSanitization.php.

◆ getPrerequisites()

string [] TYPO3\CMS\Install\Updates\SvgFilesSanitization::getPrerequisites ( )

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"

Returns
‪string[]

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 114 of file SvgFilesSanitization.php.

◆ getTitle()

string TYPO3\CMS\Install\Updates\SvgFilesSanitization::getTitle ( )

Return the speaking name of this wizard

Returns
‪string

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 67 of file SvgFilesSanitization.php.

◆ processSvgFiles()

◆ resolveLocalStorages()

ResourceStorage [] TYPO3\CMS\Install\Updates\SvgFilesSanitization::resolveLocalStorages ( )
protected

◆ resolveSvgFiles()

File [] TYPO3\CMS\Install\Updates\SvgFilesSanitization::resolveSvgFiles ( ResourceStorage  $storage)
protected

◆ updateNecessary()

bool TYPO3\CMS\Install\Updates\SvgFilesSanitization::updateNecessary ( )

To avoid timeout issues, no check is performed in advance

Returns
‪bool

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 89 of file SvgFilesSanitization.php.

Member Data Documentation

◆ $confirmation

Confirmation TYPO3\CMS\Install\Updates\SvgFilesSanitization::$confirmation
protected

◆ $storageRepository

StorageRepository TYPO3\CMS\Install\Updates\SvgFilesSanitization::$storageRepository
protected

Definition at line 32 of file SvgFilesSanitization.php.