TYPO3
7.6
|
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 Member Functions | |
mapFieldsFromFlexForm ($flexForm) | |
initializeFlexForm ($flexFormXml) | |
getFlexFormValue (array $flexForm, $fieldName, $sheet= 'sDEF') | |
Protected Member Functions inherited from AbstractUpdate | |
markWizardAsDone ($confValue=1) | |
isWizardDone () | |
getDatabaseConnection () | |
Protected Attributes | |
$title = 'Migrate the Flexform for CType "table" to regular fields in tt_content' | |
Protected Attributes inherited from AbstractUpdate | |
$title | |
$identifier | |
Additional Inherited Members | |
Public Attributes inherited from AbstractUpdate | |
$pObj | |
$userInput | |
$versionNumber | |
Migrate the Flexform for CType 'table' to regular fields in tt_content
Definition at line 23 of file TableFlexFormToTtContentFieldsUpdate.php.
checkForUpdate | ( | & | $description | ) |
Checks if an update is needed
string | &$description | The description for the update |
Definition at line 36 of file TableFlexFormToTtContentFieldsUpdate.php.
References AbstractUpdate\getDatabaseConnection(), ExtensionManagementUtility\isLoaded(), and AbstractUpdate\isWizardDone().
|
protected |
array | $flexForm | The content of the FlexForm |
string | $fieldName | The field name to get the value for |
string | $sheet | The sheet on which this value is located |
Definition at line 191 of file TableFlexFormToTtContentFieldsUpdate.php.
Referenced by TableFlexFormToTtContentFieldsUpdate\mapFieldsFromFlexForm().
|
protected |
Convert the XML of the FlexForm to an array
string | NULL | $flexFormXml | The XML of the FlexForm |
Definition at line 171 of file TableFlexFormToTtContentFieldsUpdate.php.
References GeneralUtility\xml2array().
Referenced by TableFlexFormToTtContentFieldsUpdate\performUpdate().
|
protected |
Map the old FlexForm values to the new database fields and fill them with the proper data
array | $flexForm | The content of the FlexForm |
Definition at line 108 of file TableFlexFormToTtContentFieldsUpdate.php.
References elseif, and TableFlexFormToTtContentFieldsUpdate\getFlexFormValue().
Referenced by TableFlexFormToTtContentFieldsUpdate\performUpdate().
performUpdate | ( | array & | $databaseQueries, |
& | $customMessages | ||
) |
Performs the database update if CType 'table' still has content in pi_flexform
array | &$databaseQueries | Queries done in this update |
mixed | &$customMessages | Custom messages |
Definition at line 65 of file TableFlexFormToTtContentFieldsUpdate.php.
References AbstractUpdate\getDatabaseConnection(), TableFlexFormToTtContentFieldsUpdate\initializeFlexForm(), TableFlexFormToTtContentFieldsUpdate\mapFieldsFromFlexForm(), and AbstractUpdate\markWizardAsDone().
|
protected |
Definition at line 28 of file TableFlexFormToTtContentFieldsUpdate.php.