MigrateFeloginPlugins implements UpgradeWizardInterface
FinalYes
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
Properties
- $flexFormFields : array<string|int, mixed>
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?
- getFlexformConstraints() : CompositeExpression
- Creates a "like" statement for every flexform fields
- migrateFlexformSettings() : string
Properties
$flexFormFields
protected
static array<string|int, mixed>
$flexFormFields
= ['showForgotPassword', 'showPermaLogin', 'showLogoutFormAfterLogin', 'pages', 'recursive', 'redirectMode', 'redirectFirstMethod', 'redirectPageLogin', 'redirectPageLoginError', 'redirectPageLogout', 'redirectDisable', 'welcome_header', 'welcome_message', 'success_header', 'success_message', 'error_header', 'error_message', 'status_header', 'status_message', 'logout_header', 'logout_message', 'forgot_header', 'forgot_reset_message']
Flexform fields which we are interested in updating
Methods
executeUpdate()
Execute the update
public
executeUpdate() : bool
Called when a wizard reports that an update is necessary
Return values
boolgetDescription()
Return the description for this wizard
public
getDescription() : string
Return values
stringgetIdentifier()
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
stringgetPrerequisites()
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
stringupdateNecessary()
Is an update necessary?
public
updateNecessary() : bool
Looks for fe plugins in tt_content table to be migrated
Return values
boolgetFlexformConstraints()
Creates a "like" statement for every flexform fields
protected
getFlexformConstraints(QueryBuilder $queryBuilder) : CompositeExpression
Parameters
- $queryBuilder : QueryBuilder
Return values
CompositeExpressionmigrateFlexformSettings()
protected
migrateFlexformSettings(string $oldValue) : string
Parameters
- $oldValue : string