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
Name Modifiers Typesort descending Description
DatabaseTasks::hasPdoDriver protected function Ensure the PDO driver is supported by the version of PHP in use.
DatabaseTasks::fail protected function Assert test as failed.
DatabaseTasks::pass protected function Assert test as a pass.
DatabaseTasks::installable public function Check whether Backdrop is installable on the database.
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::runTasks public function Run database tasks and tests to see if Backdrop can run on the database.
DatabaseTasks::connect protected function Check if we can connect to the database.
DatabaseTasks::runTestQuery protected function Run SQL tests to ensure the database can execute commands with the current user.
DatabaseTasks::checkEngineVersion protected function Check the engine version.
DatabaseTasks::getFormOptions public function Return driver specific configuration options.
DatabaseTasks::validateDatabaseSettings public function Validates driver specific configuration settings.
DatabaseTasks::checkUtf8mb4 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.