IndexedSearchCTypeMigration implements UpgradeWizardInterface
FinalYes
This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.
Tags
Attributes
- #[UpgradeWizard]
- 'indexedSearchCTypeMigration'
Table of Contents
Interfaces
- UpgradeWizardInterface
- Interface UpgradeWizardInterface
Constants
- TABLE_BACKEND_USER_GROUPS = 'be_groups'
- TABLE_CONTENT = 'tt_content'
Methods
- __construct() : mixed
- executeUpdate() : bool
- Execute the update
- getDescription() : string
- Return the description for this wizard
- 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?
- backendGroupsExplicitAllowDenyMigrationHasBeenExecuted() : bool
- columnsExistInBackendUserGroupsTable() : bool
- columnsExistInContentTable() : bool
- getBackendUserGroupsToUpdate() : array<string|int, mixed>
- getContentElementsToUpdate() : array<string|int, mixed>
- getPreparedQueryBuilderForBackendUserGroups() : QueryBuilder
- getPreparedQueryBuilderForContentElements() : QueryBuilder
- hasBackendUserGroupsToUpdate() : bool
- hasContentElementsToUpdate() : bool
- updateBackendUserGroups() : void
- updateContentElements() : void
Constants
TABLE_BACKEND_USER_GROUPS
protected
mixed
TABLE_BACKEND_USER_GROUPS
= 'be_groups'
TABLE_CONTENT
protected
mixed
TABLE_CONTENT
= 'tt_content'
Methods
__construct()
public
__construct(Registry $registry, ConnectionPool $connectionPool) : mixed
Parameters
- $registry : Registry
- $connectionPool : ConnectionPool
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
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
Is used to determine whether a wizard needs to be run. Check if data for migration exists.
Return values
boolbackendGroupsExplicitAllowDenyMigrationHasBeenExecuted()
protected
backendGroupsExplicitAllowDenyMigrationHasBeenExecuted() : bool
Return values
boolcolumnsExistInBackendUserGroupsTable()
protected
columnsExistInBackendUserGroupsTable() : bool
Return values
boolcolumnsExistInContentTable()
protected
columnsExistInContentTable() : bool
Return values
boolgetBackendUserGroupsToUpdate()
protected
getBackendUserGroupsToUpdate() : array<string|int, mixed>
Return values
array<string|int, mixed>getContentElementsToUpdate()
protected
getContentElementsToUpdate() : array<string|int, mixed>
Return values
array<string|int, mixed>getPreparedQueryBuilderForBackendUserGroups()
protected
getPreparedQueryBuilderForBackendUserGroups() : QueryBuilder
Return values
QueryBuildergetPreparedQueryBuilderForContentElements()
protected
getPreparedQueryBuilderForContentElements() : QueryBuilder
Return values
QueryBuilderhasBackendUserGroupsToUpdate()
protected
hasBackendUserGroupsToUpdate() : bool
Return values
boolhasContentElementsToUpdate()
protected
hasContentElementsToUpdate() : bool
Return values
boolupdateBackendUserGroups()
protected
updateBackendUserGroups() : void
updateContentElements()
protected
updateContentElements() : void