DatabaseConnection::setKey

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

Tells this connection object what its key is.

Parameters

$target: The key this connection is for.

File

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

Code

public function setKey($key) {
  if (!isset($this->key)) {
    $this->key = $key;
  }
}
Login or register to post comments