‪TYPO3CMS  ‪main
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 ()
 
 getTitle ()
 
 getDescription ()
 
 updateNecessary ()
 
 executeUpdate ()
 
string[] getPrerequisites ()
 
 getConfirmation ()
 

Protected Member Functions

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

Protected Attributes

StorageRepository $storageRepository
 
Confirmation $confirmation
 

Detailed Description

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

Definition at line 33 of file SvgFilesSanitization.php.

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ executeUpdate()

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

Execute the update

Called when a wizard reports that an update is necessary

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 87 of file SvgFilesSanitization.php.

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

◆ getConfirmation()

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

Return a confirmation message instance

Implements TYPO3\CMS\Install\Updates\ConfirmableInterface.

Definition at line 108 of file SvgFilesSanitization.php.

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

◆ getDescription()

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

Return the description for this wizard

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 67 of file SvgFilesSanitization.php.

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

◆ 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 100 of file SvgFilesSanitization.php.

◆ getTitle()

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

Return the speaking name of this wizard

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 59 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()

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

To avoid timeout issues, no check is performed in advance

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 77 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 37 of file SvgFilesSanitization.php.