TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Install\Controller\Action\Step\DatabaseSelect Class Reference
Inheritance diagram for TYPO3\CMS\Install\Controller\Action\Step\DatabaseSelect:
TYPO3\CMS\Install\Controller\Action\Step\AbstractStepAction TYPO3\CMS\Install\Controller\Action\AbstractAction TYPO3\CMS\Install\Controller\Action\Step\StepInterface TYPO3\CMS\Install\Controller\Action\ActionInterface

Public Member Functions

 needsExecution ()
 
- Public Member Functions inherited from TYPO3\CMS\Install\Controller\Action\Step\AbstractStepAction
 setStepsCounter ($current, $total)
 
 getCurrentStep ()
 
 getTotalSteps ()
 
- Public Member Functions inherited from TYPO3\CMS\Install\Controller\Action\AbstractAction
 injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManager $objectManager)
 
 injectView (\TYPO3\CMS\Install\View\FailsafeView $view)
 
 handle ()
 
 setToken ($token)
 
 setController ($controller)
 
 setAction ($action)
 
 setPostValues (array $postValues)
 
 setLastError (array $lastError)
 
 setMessages (array $messages=array())
 
- Public Member Functions inherited from TYPO3\CMS\Install\Controller\Action\Step\StepInterface
 execute ()
 

Protected Member Functions

 getDatabaseList ($initialInstallation)
 
 initializeDatabaseConnection ()
 
- Protected Member Functions inherited from TYPO3\CMS\Install\Controller\Action\Step\AbstractStepAction
 assignSteps ()
 
- Protected Member Functions inherited from TYPO3\CMS\Install\Controller\Action\AbstractAction
 initializeHandle ()
 
 executeAction ()
 
 isDbalEnabled ()
 
 getContext ()
 
 loadExtLocalconfDatabaseAndExtTables ()
 
 getHashedPassword ($password)
 

Protected Attributes

 $databaseConnection = NULL
 
- Protected Attributes inherited from TYPO3\CMS\Install\Controller\Action\Step\AbstractStepAction
 $currentStep = 0
 
 $totalSteps = 0
 
- Protected Attributes inherited from TYPO3\CMS\Install\Controller\Action\AbstractAction
 $objectManager = NULL
 
 $view = NULL
 
 $controller = ''
 
 $action = ''
 
 $token = ''
 
 $postValues = array()
 
 $lastError = array()
 
 $messages = array()
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Database select step. This step is only rendered if database is mysql. With dbal, database name is submitted by previous step already.

Definition at line 23 of file DatabaseSelect.php.

Member Function Documentation

◆ getDatabaseList()

TYPO3\CMS\Install\Controller\Action\Step\DatabaseSelect::getDatabaseList (   $initialInstallation)
protected

Returns list of available databases (with access-check based on username/password)

Parameters
boolean$initialInstallationTRUE if first installation is in progress, FALSE if upgrading or usual access
Returns
array List of available databases

Definition at line 134 of file DatabaseSelect.php.

References $database, and TYPO3\CMS\Install\Controller\Action\Step\DatabaseSelect\initializeDatabaseConnection().

Referenced by TYPO3\CMS\Install\Controller\Action\Step\DatabaseSelect\needsExecution().

◆ initializeDatabaseConnection()

TYPO3\CMS\Install\Controller\Action\Step\DatabaseSelect::initializeDatabaseConnection ( )
protected

◆ needsExecution()

Member Data Documentation

◆ $databaseConnection

TYPO3\CMS\Install\Controller\Action\Step\DatabaseSelect::$databaseConnection = NULL
protected

Definition at line 28 of file DatabaseSelect.php.