You are here

public function BiblioEntrezClient::setDatabase in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 modules/pubmed/EntrezClient.php \BiblioEntrezClient::setDatabase()
  2. 6 pubmed/EntrezClient.php \BiblioEntrezClient::setDatabase()
  3. 7.2 modules/pubmed/EntrezClient.php \BiblioEntrezClient::setDatabase()

Sets the entrez database to be queried.

Values available from EInfo, PubMed is the default db.

Parameters

string $database:

See also

getAvailableDatabases

File

modules/pubmed/EntrezClient.php, line 92
Provides Entrez client to retrieve items from the NCBI databases.

Class

BiblioEntrezClient

Code

public function setDatabase($database) {
  $this->database = strtolower($database);
}