On this page
abstract class DatabaseTasks
Database installer structure.
Defines basic Drupal requirements for databases.
Hierarchy
- class \DatabaseTasks
Expanded class hierarchy of DatabaseTasks
File
- includes/install.inc, line 290
- API functions for installing modules and themes.
Members
| Name | Modifiers | Type | Description |
|---|---|---|---|
| DatabaseTasks::$results | protected | property | Results from tasks. |
| DatabaseTasks::$tasks | protected | property | Structure that describes each task to run. |
| DatabaseTasks::checkEngineVersion | protected | function | Check the engine version. |
| DatabaseTasks::connect | protected | function | Check if we can connect to the database. |
| DatabaseTasks::fail | protected | function | Assert test as failed. |
| DatabaseTasks::getFormOptions | public | function | Return driver specific configuration options. |
| DatabaseTasks::hasPdoDriver | protected | function | Ensure the PDO driver is supported by the version of PHP in use. |
| DatabaseTasks::installable | public | function | Check whether Drupal is installable on the database. |
| DatabaseTasks::minimumVersion | public | function | Return the minimum required version of the engine. |
| DatabaseTasks::name | abstract public | function | Return the human-readable name of the driver. |
| DatabaseTasks::pass | protected | function | Assert test as a pass. |
| DatabaseTasks::runTasks | public | function | Run database tasks and tests to see if Drupal can run on the database. |
| DatabaseTasks::runTestQuery | protected | function | Run SQL tests to ensure the database can execute commands with the current user. |
| DatabaseTasks::validateDatabaseSettings | public | function | Validates driver specific configuration settings. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!install.inc/class/DatabaseTasks/7.x