TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Install\Updates\MediaceExtractionUpdate Class Reference
Inheritance diagram for TYPO3\CMS\Install\Updates\MediaceExtractionUpdate:
TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate TYPO3\CMS\Install\Updates\AbstractUpdate

Public Member Functions

 checkForUpdate (&$description)
 
 performUpdate (array &$databaseQueries, &$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 Attributes

 $title = 'Installs extension "mediace" from TER if media elements are used.'
 
 $extensionKey = 'mediace'
 
 $extensionDetails
 
- Protected Attributes inherited from TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate
 $title = 'Install an Extension from the Extension Repository'
 
 $extensionDetails = []
 
 $repositoryUrl = 'https://typo3.org/fileadmin/ter/@filename'
 
- 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\AbstractDownloadExtensionUpdate
 getExtensionDetails ($extensionKey)
 
 fetchExtension ($extensionKey, $version)
 
 fetchUrl ($url)
 
- Protected Member Functions inherited from TYPO3\CMS\Install\Updates\AbstractUpdate
 markWizardAsDone ($confValue=1)
 
 isWizardDone ()
 
 getDatabaseConnection ()
 

Detailed Description

Installs and downloads EXT:mediace if needed

Definition at line 22 of file MediaceExtractionUpdate.php.

Member Function Documentation

◆ checkForUpdate()

TYPO3\CMS\Install\Updates\MediaceExtractionUpdate::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 51 of file MediaceExtractionUpdate.php.

References TYPO3\CMS\Install\Updates\AbstractUpdate\getDatabaseConnection(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\isLoaded(), and TYPO3\CMS\Install\Updates\AbstractUpdate\isWizardDone().

◆ performUpdate()

TYPO3\CMS\Install\Updates\MediaceExtractionUpdate::performUpdate ( array &  $databaseQueries,
$customMessages 
)

Performs the database update if media CTypes are available.

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

Definition at line 82 of file MediaceExtractionUpdate.php.

References TYPO3\CMS\Install\Updates\AbstractUpdate\markWizardAsDone().

Member Data Documentation

◆ $extensionDetails

TYPO3\CMS\Install\Updates\MediaceExtractionUpdate::$extensionDetails
protected
Initial value:
= [
'mediace' => [
'title' => 'Media Content Element'

Definition at line 37 of file MediaceExtractionUpdate.php.

◆ $extensionKey

TYPO3\CMS\Install\Updates\MediaceExtractionUpdate::$extensionKey = 'mediace'
protected

Definition at line 32 of file MediaceExtractionUpdate.php.

◆ $title

TYPO3\CMS\Install\Updates\MediaceExtractionUpdate::$title = 'Installs extension "mediace" from TER if media elements are used.'
protected

Definition at line 27 of file MediaceExtractionUpdate.php.