TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
ProcessedFileChecksumUpdate Class Reference
Inheritance diagram for ProcessedFileChecksumUpdate:
AbstractUpdate

Public Member Functions

 checkForUpdate (&$description)
 
 performUpdate (array &$databaseQueries, &$customMessages)
 
- Public Member Functions inherited from AbstractUpdate
 getTitle ()
 
 setTitle ($title)
 
 getIdentifier ()
 
 setIdentifier ($identifier)
 
 shouldRenderWizard ()
 
 shouldRenderNextButton ()
 
 checkIfTableExists ($table)
 
 checkForUpdate (&$description)
 
 performUpdate (array &$dbQueries, &$customMessages)
 

Protected Attributes

 $title = '[Optional] Update sys_file_processedfile records to match new checksum calculation.'
 
- Protected Attributes inherited from AbstractUpdate
 $title
 
 $identifier
 

Additional Inherited Members

- Public Attributes inherited from AbstractUpdate
 $pObj
 
 $userInput
 
 $versionNumber
 
- Protected Member Functions inherited from AbstractUpdate
 markWizardAsDone ($confValue=1)
 
 isWizardDone ()
 
 getDatabaseConnection ()
 

Detailed Description

Updates the checksum of sys_file_processedfile records to avoid regeneration of the thumbnails

Definition at line 24 of file ProcessedFileChecksumUpdate.php.

Member Function Documentation

checkForUpdate ( $description)

Checks if an update is needed

Parameters
string&$descriptionThe description for the update
Returns
bool Whether an update is needed (TRUE) or not (FALSE)

Definition at line 37 of file ProcessedFileChecksumUpdate.php.

References AbstractUpdate\getDatabaseConnection(), and AbstractUpdate\isWizardDone().

performUpdate ( array &  $databaseQueries,
$customMessages 
)

Performs the update

Parameters
array&$databaseQueriesQueries done in this update
mixed&$customMessagesCustom messages
Returns
bool

Definition at line 64 of file ProcessedFileChecksumUpdate.php.

References AbstractUpdate\getDatabaseConnection(), GeneralUtility\makeInstance(), and AbstractUpdate\markWizardAsDone().

Member Data Documentation

$title = '[Optional] Update sys_file_processedfile records to match new checksum calculation.'
protected

Definition at line 29 of file ProcessedFileChecksumUpdate.php.