Database installer structure.

Defines basic Backdrop requirements for databases.

Hierarchy

Expanded class hierarchy of DatabaseTasks

File

core/includes/install.inc, line 269
API functions for installing modules and themes.

Members

Contains filters are case sensitive
Namesort ascending Modifiers Type Description
DatabaseTasks::validateDatabaseSettings public function Validates driver specific configuration settings.
DatabaseTasks::runTestQuery protected function Run SQL tests to ensure the database can execute commands with the current user.
DatabaseTasks::runTasks public function Run database tasks and tests to see if Backdrop can run on the database.
DatabaseTasks::pass protected function Assert test as a pass.
DatabaseTasks::name abstract public function Return the human-readable name of the driver.
DatabaseTasks::minimumVersion public function Return the minimum required version of the engine.
DatabaseTasks::installable public function Check whether Backdrop is installable on the database.
DatabaseTasks::hasPdoDriver protected function Ensure the PDO driver is supported by the version of PHP in use.
DatabaseTasks::getFormOptions public function Return driver specific configuration options.
DatabaseTasks::fail protected function Assert test as failed.
DatabaseTasks::connect protected function Check if we can connect to the database.
DatabaseTasks::checkUtf8mb4 protected function Check the engine version.
DatabaseTasks::checkEngineVersion protected function Check the engine version.
DatabaseTasks::$tasks protected property Structure that describes each task to run.
DatabaseTasks::$results protected property Results from tasks.
DatabaseTasks::$pdoDriver protected property The PDO driver name for MySQL and equivalent databases.
DatabaseTasks::$databaseNotFoundErrorCode protected property Error code for "Unknown database" error.
DatabaseTasks::$connectionRefusedErrorCode protected property Error code when the connection is refused.