function DatabaseConnection::setKey
Tells this connection object what its key is.
Parameters
$target: The key this connection is for.
File
-
includes/
database/ database.inc, line 581
Class
- DatabaseConnection
- Base Database API class.
Code
public function setKey($key) {
if (!isset($this->key)) {
$this->key = $key;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.