public function DatabaseConnection::getKey

public DatabaseConnection::getKey()

Returns the key this connection is associated with.

Return value

The key of this connection.

File

includes/database/database.inc, line 532
Core systems for the database layer.

Class

DatabaseConnection
Base Database API class.

Code

public function getKey() {
  return $this->key;
}

© 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!database!database.inc/function/DatabaseConnection::getKey/7.x