‪TYPO3CMS  ‪main
TYPO3\CMS\Install\Updates\ShortcutRecordsMigration Class Reference
Inheritance diagram for TYPO3\CMS\Install\Updates\ShortcutRecordsMigration:
TYPO3\CMS\Install\Updates\UpgradeWizardInterface

Public Member Functions

 getTitle ()
 
 getDescription ()
 
 getPrerequisites ()
 
 updateNecessary ()
 
 executeUpdate ()
 

Protected Member Functions

 columnsExistInTable ()
 
 hasRecordsToUpdate ()
 
 getRecordsToUpdate ()
 
 getPreparedQueryBuilder ()
 
 getRouteIdentifierForModuleName (string $moduleName)
 
 getConnectionPool ()
 

Protected Attributes

ModuleProvider $moduleProvider = null
 
Router $router = null
 

Private Attributes

const TABLE_NAME = 'sys_be_shortcuts'
 

Detailed Description

This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.

Definition at line 31 of file ShortcutRecordsMigration.php.

Member Function Documentation

◆ columnsExistInTable()

TYPO3\CMS\Install\Updates\ShortcutRecordsMigration::columnsExistInTable ( )
protected

◆ executeUpdate()

◆ getConnectionPool()

◆ getDescription()

TYPO3\CMS\Install\Updates\ShortcutRecordsMigration::getDescription ( )

Return the description for this wizard

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 43 of file ShortcutRecordsMigration.php.

◆ getPreparedQueryBuilder()

◆ getPrerequisites()

TYPO3\CMS\Install\Updates\ShortcutRecordsMigration::getPrerequisites ( )

Returns an array of class names of Prerequisite classes

This way a wizard can define dependencies like "database up-to-date" or "reference index updated"

Returns
‪string[]

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 48 of file ShortcutRecordsMigration.php.

◆ getRecordsToUpdate()

TYPO3\CMS\Install\Updates\ShortcutRecordsMigration::getRecordsToUpdate ( )
protected

◆ getRouteIdentifierForModuleName()

TYPO3\CMS\Install\Updates\ShortcutRecordsMigration::getRouteIdentifierForModuleName ( string  $moduleName)
protected

◆ getTitle()

TYPO3\CMS\Install\Updates\ShortcutRecordsMigration::getTitle ( )

Return the speaking name of this wizard

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 38 of file ShortcutRecordsMigration.php.

◆ hasRecordsToUpdate()

TYPO3\CMS\Install\Updates\ShortcutRecordsMigration::hasRecordsToUpdate ( )
protected

◆ updateNecessary()

TYPO3\CMS\Install\Updates\ShortcutRecordsMigration::updateNecessary ( )

Is an update necessary?

Is used to determine whether a wizard needs to be run. Check if data for migration exists.

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 55 of file ShortcutRecordsMigration.php.

References TYPO3\CMS\Install\Updates\ShortcutRecordsMigration\columnsExistInTable(), and TYPO3\CMS\Install\Updates\ShortcutRecordsMigration\hasRecordsToUpdate().

Member Data Documentation

◆ $moduleProvider

ModuleProvider TYPO3\CMS\Install\Updates\ShortcutRecordsMigration::$moduleProvider = null
protected

Definition at line 35 of file ShortcutRecordsMigration.php.

◆ $router

Router TYPO3\CMS\Install\Updates\ShortcutRecordsMigration::$router = null
protected

Definition at line 36 of file ShortcutRecordsMigration.php.

◆ TABLE_NAME

const TYPO3\CMS\Install\Updates\ShortcutRecordsMigration::TABLE_NAME = 'sys_be_shortcuts'
private

Definition at line 33 of file ShortcutRecordsMigration.php.