‪TYPO3CMS  10.4
TYPO3\CMS\FrontendLogin\Updates\MigrateFeloginPluginsCtype Class Reference
Inheritance diagram for TYPO3\CMS\FrontendLogin\Updates\MigrateFeloginPluginsCtype:
TYPO3\CMS\Install\Updates\UpgradeWizardInterface TYPO3\CMS\Install\Updates\RepeatableInterface

Public Member Functions

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

Protected Member Functions

bool isExtbaseFeatureEnabled ()
 
string getOldCType ()
 
string getNewCType ()
 

Protected Attributes

const CTYPE_PIBASE = 'login'
 
const CTYPE_EXTBASE = 'felogin_login'
 

Detailed Description

this is a concrete TYPO3 implementation and solely used for EXT:felogin and not part of TYPO3's Core API.

Definition at line 32 of file MigrateFeloginPluginsCtype.php.

Member Function Documentation

◆ executeUpdate()

bool TYPO3\CMS\FrontendLogin\Updates\MigrateFeloginPluginsCtype::executeUpdate ( )

Execute the update

Called when a wizard reports that an update is necessary

Returns
‪bool

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 76 of file MigrateFeloginPluginsCtype.php.

References TYPO3\CMS\FrontendLogin\Updates\MigrateFeloginPluginsCtype\getNewCType().

◆ getDescription()

string TYPO3\CMS\FrontendLogin\Updates\MigrateFeloginPluginsCtype::getDescription ( )

Return the description for this wizard

Returns
‪string

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 63 of file MigrateFeloginPluginsCtype.php.

◆ getIdentifier()

string TYPO3\CMS\FrontendLogin\Updates\MigrateFeloginPluginsCtype::getIdentifier ( )

Return the identifier for this wizard This should be the same string as used in the ext_localconf class registration

Returns
‪string

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 43 of file MigrateFeloginPluginsCtype.php.

◆ getNewCType()

string TYPO3\CMS\FrontendLogin\Updates\MigrateFeloginPluginsCtype::getNewCType ( )
protected

◆ getOldCType()

string TYPO3\CMS\FrontendLogin\Updates\MigrateFeloginPluginsCtype::getOldCType ( )
protected

◆ getPrerequisites()

string [] TYPO3\CMS\FrontendLogin\Updates\MigrateFeloginPluginsCtype::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 128 of file MigrateFeloginPluginsCtype.php.

◆ getTitle()

string TYPO3\CMS\FrontendLogin\Updates\MigrateFeloginPluginsCtype::getTitle ( )

Return the speaking name of this wizard

Returns
‪string

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 53 of file MigrateFeloginPluginsCtype.php.

◆ isExtbaseFeatureEnabled()

bool TYPO3\CMS\FrontendLogin\Updates\MigrateFeloginPluginsCtype::isExtbaseFeatureEnabled ( )
protected

Checks if feature toggle to use extbase version is enabled

Returns
‪bool

Definition at line 140 of file MigrateFeloginPluginsCtype.php.

Referenced by TYPO3\CMS\FrontendLogin\Updates\MigrateFeloginPluginsCtype\getNewCType(), and TYPO3\CMS\FrontendLogin\Updates\MigrateFeloginPluginsCtype\getOldCType().

◆ updateNecessary()

bool TYPO3\CMS\FrontendLogin\Updates\MigrateFeloginPluginsCtype::updateNecessary ( )

Is an update necessary?

If the feature toggle is set: Looks for new fe plugins to be rolled back Otherwise looks for old record sets to be migrated

Returns
‪bool

Implements TYPO3\CMS\Install\Updates\UpgradeWizardInterface.

Definition at line 105 of file MigrateFeloginPluginsCtype.php.

Member Data Documentation

◆ CTYPE_EXTBASE

const TYPO3\CMS\FrontendLogin\Updates\MigrateFeloginPluginsCtype::CTYPE_EXTBASE = 'felogin_login'
protected

◆ CTYPE_PIBASE

const TYPO3\CMS\FrontendLogin\Updates\MigrateFeloginPluginsCtype::CTYPE_PIBASE = 'login'
protected