1 database.inc public DatabaseConnection::setKey($key)

Tells this connection object what its key is.

Parameters

string $key: The key this connection is for.

File

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

Class

DatabaseConnection
Base Database API class.

Code

public function setKey($key) {
  if (!isset($this->key)) {
    $this->key = $key;
  }
}