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

Public Member Functions

 __construct ()
 
 checkForUpdate (&$description, &$showUpdate=0)
 
- 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 Attributes

 $title = 'FlexForm Data from Media Element'
 
 $db
 
- 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
 
- Protected Member Functions inherited from TYPO3\CMS\Install\Updates\AbstractUpdate
 markWizardAsDone ($confValue=1)
 
 isWizardDone ()
 
 getDatabaseConnection ()
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Migrates the old media FlexForm to the new

Definition at line 20 of file MediaFlexformUpdate.php.

Constructor & Destructor Documentation

◆ __construct()

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

Creates this object

Definition at line 35 of file MediaFlexformUpdate.php.

References $GLOBALS.

Member Function Documentation

◆ checkForUpdate()

TYPO3\CMS\Install\Updates\MediaFlexformUpdate::checkForUpdate ( $description,
$showUpdate = 0 
)

Checks whether updates need to be performed

Parameters
string&$descriptionThe description for the update
integer&$showUpdate0=dont show update; 1=show update and next button; 2=only show description
Returns
boolean

Definition at line 46 of file MediaFlexformUpdate.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Install\Updates\AbstractUpdate\performUpdate(), and TYPO3\CMS\Core\Utility\GeneralUtility\xml2array().

Member Data Documentation

◆ $db

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

Definition at line 30 of file MediaFlexformUpdate.php.

◆ $title

TYPO3\CMS\Install\Updates\MediaFlexformUpdate::$title = 'FlexForm Data from Media Element'
protected

Definition at line 25 of file MediaFlexformUpdate.php.