TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
ContentTypesToTextMediaUpdate Class Reference
Inheritance diagram for ContentTypesToTextMediaUpdate:
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 = 'Migrate CTypes text, image and textpic to textmedia and move file relations from "image" to "media_references"'
 
- 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

Migrate CTypes 'text', 'image' and 'textpic' to 'textmedia' for extension 'frontend'

Definition at line 22 of file ContentTypesToTextMediaUpdate.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 35 of file ContentTypesToTextMediaUpdate.php.

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

performUpdate ( array &  $databaseQueries,
$customMessages 
)

Performs the database update if old CTypes are available

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

Definition at line 73 of file ContentTypesToTextMediaUpdate.php.

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

Member Data Documentation

$title = 'Migrate CTypes text, image and textpic to textmedia and move file relations from "image" to "media_references"'
protected

Definition at line 27 of file ContentTypesToTextMediaUpdate.php.