TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Install\Updates\FileIdentifierHashUpdate Class Reference
Inheritance diagram for TYPO3\CMS\Install\Updates\FileIdentifierHashUpdate:
TYPO3\CMS\Install\Updates\AbstractUpdate

Public Member Functions

 __construct ()
 
 init ()
 
 checkForUpdate (&$description)
 
 performUpdate (array &$dbQueries, &$customMessages)
 
- Public Member Functions inherited from TYPO3\CMS\Install\Updates\AbstractUpdate
 getTitle ()
 
 setTitle ($title)
 
 getIdentifier ()
 
 setIdentifier ($identifier)
 
 shouldRenderWizard ()
 
 shouldRenderNextButton ()
 
 checkIfTableExists ($table)
 
 checkForUpdate (&$description)
 
 performUpdate (array &$dbQueries, &$customMessages)
 

Protected Member Functions

 updateIdentifierHashesForStorage (ResourceStorage $storage)
 
 testCaseSensitivity ($absolutePath)
 
- Protected Member Functions inherited from TYPO3\CMS\Install\Updates\AbstractUpdate
 markWizardAsDone ($confValue=1)
 
 isWizardDone ()
 
 getDatabaseConnection ()
 

Protected Attributes

 $title = 'Add the file identifier hash to existing sys_file records and update the settings for local storages'
 
 $db
 
 $sqlQueries = array()
 
 $storages
 
 $storageRepository
 
- Protected Attributes inherited from TYPO3\CMS\Install\Updates\AbstractUpdate
 $title
 
 $identifier
 

Additional Inherited Members

- Public Attributes inherited from TYPO3\CMS\Install\Updates\AbstractUpdate
 $pObj
 
 $userInput
 
 $versionNumber
 

Detailed Description

Class FileIdentifierHashUpdate adds IdentifierHashes

Definition at line 23 of file FileIdentifierHashUpdate.php.

Constructor & Destructor Documentation

◆ __construct()

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

Creates this object

Definition at line 53 of file FileIdentifierHashUpdate.php.

References $GLOBALS.

Member Function Documentation

◆ checkForUpdate()

TYPO3\CMS\Install\Updates\FileIdentifierHashUpdate::checkForUpdate ( $description)

Checks if an update is needed.

Parameters
string&$descriptionThe description for the update
Returns
boolean TRUE if an update is needed, FALSE otherwise

Definition at line 73 of file FileIdentifierHashUpdate.php.

◆ init()

TYPO3\CMS\Install\Updates\FileIdentifierHashUpdate::init ( )

◆ performUpdate()

TYPO3\CMS\Install\Updates\FileIdentifierHashUpdate::performUpdate ( array &  $dbQueries,
$customMessages 
)

◆ testCaseSensitivity()

TYPO3\CMS\Install\Updates\FileIdentifierHashUpdate::testCaseSensitivity (   $absolutePath)
protected

Test if the local filesystem is case sensitive

Parameters
$absolutePath
Returns
boolean

Definition at line 223 of file FileIdentifierHashUpdate.php.

Referenced by TYPO3\CMS\Install\Updates\FileIdentifierHashUpdate\performUpdate().

◆ updateIdentifierHashesForStorage()

TYPO3\CMS\Install\Updates\FileIdentifierHashUpdate::updateIdentifierHashesForStorage ( ResourceStorage  $storage)
protected

Member Data Documentation

◆ $db

TYPO3\CMS\Install\Updates\FileIdentifierHashUpdate::$db
protected

Definition at line 33 of file FileIdentifierHashUpdate.php.

◆ $sqlQueries

TYPO3\CMS\Install\Updates\FileIdentifierHashUpdate::$sqlQueries = array()
protected

Definition at line 38 of file FileIdentifierHashUpdate.php.

◆ $storageRepository

TYPO3\CMS\Install\Updates\FileIdentifierHashUpdate::$storageRepository
protected

Definition at line 48 of file FileIdentifierHashUpdate.php.

◆ $storages

TYPO3\CMS\Install\Updates\FileIdentifierHashUpdate::$storages
protected

Definition at line 43 of file FileIdentifierHashUpdate.php.

◆ $title

TYPO3\CMS\Install\Updates\FileIdentifierHashUpdate::$title = 'Add the file identifier hash to existing sys_file records and update the settings for local storages'
protected

Definition at line 28 of file FileIdentifierHashUpdate.php.