MigrateFeloginPluginsCtype implements UpgradeWizardInterface, RepeatableInterface

FinalYes
Internal

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

Table of Contents

Interfaces

UpgradeWizardInterface
Interface UpgradeWizardInterface
RepeatableInterface
Use if wizard may be run multiple times (and should not be disabled after one run)

Constants

CTYPE_EXTBASE  = 'felogin_login'
CTYPE_PIBASE  = 'login'

Methods

executeUpdate()  : bool
Execute the update
getDescription()  : string
Return the description for this wizard
getIdentifier()  : string
Return the identifier for this wizard This should be the same string as used in the ext_localconf class registration
getPrerequisites()  : array<string|int, string>
Returns an array of class names of Prerequisite classes
getTitle()  : string
Return the speaking name of this wizard
updateNecessary()  : bool
Is an update necessary?
getNewCType()  : string
Decide which content CType should be used for the current feature toggle state
getOldCType()  : string
Returns the CType that should be replaced by new CType

Constants

CTYPE_EXTBASE

protected mixed CTYPE_EXTBASE = 'felogin_login'

CTYPE_PIBASE

protected mixed CTYPE_PIBASE = 'login'

Methods

executeUpdate()

Execute the update

public executeUpdate() : bool

Called when a wizard reports that an update is necessary

Return values
bool

getDescription()

Return the description for this wizard

public getDescription() : string
Return values
string

getIdentifier()

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

public getIdentifier() : string
Return values
string

getPrerequisites()

Returns an array of class names of Prerequisite classes

public getPrerequisites() : array<string|int, string>

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

Return values
array<string|int, string>

getTitle()

Return the speaking name of this wizard

public getTitle() : string
Return values
string

updateNecessary()

Is an update necessary?

public updateNecessary() : bool

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

Return values
bool

getNewCType()

Decide which content CType should be used for the current feature toggle state

protected getNewCType() : string
Return values
string

getOldCType()

Returns the CType that should be replaced by new CType

protected getOldCType() : string
Return values
string

        
On this page

Search results