public function DatabaseConnection::setKey in Drupal 7
Tells this connection object what its key is.
Parameters
$target: The key this connection is for.
File
- includes/
database/ database.inc, line 581 - Core systems for the database layer.
Class
- DatabaseConnection
- Base Database API class.
Code
public function setKey($key) {
if (!isset($this->key)) {
$this->key = $key;
}
}