FeLoginModeExtractionUpdate extends AbstractDownloadExtensionUpdate
Installs and downloads EXT:fe_login_mode
This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.
Tags
Attributes
- #[UpgradeWizard]
- 'feLoginModeExtension'
Table of Contents
Properties
- $extension : ExtensionModel
- $fileHandlingUtility : FileHandlingUtility
- $installUtility : InstallUtility
- $listUtility : ListUtility
- $output : OutputInterface
- $remoteRegistry : RemoteRegistry
Methods
- __construct() : mixed
- executeUpdate() : bool
- Execute the update Called when a wizard reports that an update is necessary
- getConfirmation() : Confirmation
- Return a confirmation message instance
- getDescription() : string
- Return the description for this wizard
- getPrerequisites() : array<string|int, string>
- 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"
- getTitle() : string
- Return the speaking name of this wizard
- injectFileHandlingUtility() : void
- injectInstallUtility() : void
- injectListUtility() : void
- injectRemoteRegistry() : void
- setOutput() : void
- Setter injection for output into upgrade wizards
- updateNecessary() : bool
- Is an update necessary? Is used to determine whether a wizard needs to be run.
- columnExists() : bool
- Checks if the column still exists in the database, otherwise it's no longer possible to determine whether the functionality was previously used.
- functionalityUsed() : bool
- Check if the functionality was used by checking if at least one page defines another value than the default (0) for the fe_login_mode field.
- installExtension() : bool
- This method can be called to install an extension following all proper processes (e.g. installing in extList, respecting priority, etc.)
Properties
$extension
protected
ExtensionModel
$extension
$fileHandlingUtility
protected
FileHandlingUtility
$fileHandlingUtility
$installUtility
protected
InstallUtility
$installUtility
$listUtility
protected
ListUtility
$listUtility
$output
protected
OutputInterface
$output
$remoteRegistry
protected
RemoteRegistry
$remoteRegistry
Methods
__construct()
public
__construct(ConnectionPool $connectionPool) : mixed
Parameters
- $connectionPool : ConnectionPool
executeUpdate()
Execute the update Called when a wizard reports that an update is necessary
public
executeUpdate() : bool
Return values
boolgetConfirmation()
Return a confirmation message instance
public
getConfirmation() : Confirmation
Return values
ConfirmationgetDescription()
Return the description for this wizard
public
getDescription() : string
Return values
stringgetPrerequisites()
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"
public
getPrerequisites() : array<string|int, string>
Return values
array<string|int, string>getTitle()
Return the speaking name of this wizard
public
getTitle() : string
Return values
stringinjectFileHandlingUtility()
public
injectFileHandlingUtility(FileHandlingUtility $fileHandlingUtility) : void
Parameters
- $fileHandlingUtility : FileHandlingUtility
injectInstallUtility()
public
injectInstallUtility(InstallUtility $installUtility) : void
Parameters
- $installUtility : InstallUtility
injectListUtility()
public
injectListUtility(ListUtility $listUtility) : void
Parameters
- $listUtility : ListUtility
injectRemoteRegistry()
public
injectRemoteRegistry(RemoteRegistry $remoteRegistry) : void
Parameters
- $remoteRegistry : RemoteRegistry
setOutput()
Setter injection for output into upgrade wizards
public
setOutput(OutputInterface $output) : void
Parameters
- $output : OutputInterface
updateNecessary()
Is an update necessary? Is used to determine whether a wizard needs to be run.
public
updateNecessary() : bool
Return values
boolcolumnExists()
Checks if the column still exists in the database, otherwise it's no longer possible to determine whether the functionality was previously used.
protected
columnExists() : bool
Return values
boolfunctionalityUsed()
Check if the functionality was used by checking if at least one page defines another value than the default (0) for the fe_login_mode field.
protected
functionalityUsed() : bool
Return values
boolinstallExtension()
This method can be called to install an extension following all proper processes (e.g. installing in extList, respecting priority, etc.)
protected
installExtension(ExtensionModel $extension) : bool
Parameters
- $extension : ExtensionModel
Tags
Return values
bool —whether the installation worked or not