‪TYPO3CMS  9.5
TYPO3\CMS\Install\Updates\MigrateFeSessionDataUpdate Class Reference
Inheritance diagram for TYPO3\CMS\Install\Updates\MigrateFeSessionDataUpdate:
TYPO3\CMS\Install\Updates\UpgradeWizardInterface

Public Member Functions

string getIdentifier ()
 
string getTitle ()
 
string getDescription ()
 
bool updateNecessary ()
 
string[] getPrerequisites ()
 
bool executeUpdate ()
 

Protected Member Functions

bool checkIfTableExists ($table)
 

Detailed Description

Merge sessions from old fe_session_data table into new structure from fe_sessions

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

Definition at line 26 of file MigrateFeSessionDataUpdate.php.

Member Function Documentation

◆ checkIfTableExists()

bool TYPO3\CMS\Install\Updates\MigrateFeSessionDataUpdate::checkIfTableExists (   $table)
protected

Check if given table exists

Parameters
string$table
Returns
‪bool

Definition at line 179 of file MigrateFeSessionDataUpdate.php.

Referenced by TYPO3\CMS\Install\Updates\MigrateFeSessionDataUpdate\updateNecessary().

◆ executeUpdate()

bool TYPO3\CMS\Install\Updates\MigrateFeSessionDataUpdate::executeUpdate ( )

Moves data from fe_session_data into fe_sessions with respect to ses_anonymous

Returns
‪bool

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 93 of file MigrateFeSessionDataUpdate.php.

◆ getDescription()

string TYPO3\CMS\Install\Updates\MigrateFeSessionDataUpdate::getDescription ( )
Returns
‪string Longer description of this updater

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 47 of file MigrateFeSessionDataUpdate.php.

◆ getIdentifier()

string TYPO3\CMS\Install\Updates\MigrateFeSessionDataUpdate::getIdentifier ( )
Returns
‪string Unique identifier of this updater

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 31 of file MigrateFeSessionDataUpdate.php.

◆ getPrerequisites()

string [] TYPO3\CMS\Install\Updates\MigrateFeSessionDataUpdate::getPrerequisites ( )
Returns
‪string[] All new fields and tables must exist

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 81 of file MigrateFeSessionDataUpdate.php.

◆ getTitle()

string TYPO3\CMS\Install\Updates\MigrateFeSessionDataUpdate::getTitle ( )
Returns
‪string Title of this updater

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 39 of file MigrateFeSessionDataUpdate.php.

◆ updateNecessary()

bool TYPO3\CMS\Install\Updates\MigrateFeSessionDataUpdate::updateNecessary ( )

Checks if an update is needed

Returns
‪bool Whether an update is needed (true) or not (false)

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 61 of file MigrateFeSessionDataUpdate.php.

References TYPO3\CMS\Install\Updates\MigrateFeSessionDataUpdate\checkIfTableExists().