protected function DatabaseTasks::hasPdoDriver

7.x install.inc protected DatabaseTasks::hasPdoDriver()

Ensure the PDO driver is supported by the version of PHP in use.

1 call to DatabaseTasks::hasPdoDriver()
DatabaseTasks::installable in drupal-7.x/includes/install.inc
Check whether Drupal is installable on the database.

File

drupal-7.x/includes/install.inc, line 353
API functions for installing modules and themes.

Class

DatabaseTasks
Database installer structure.

Code

protected function hasPdoDriver() {
  return in_array($this->pdoDriver, PDO::getAvailableDrivers());
}