You are here

public function BiblioEntrezClient::setDatabase in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 modules/pubmed/EntrezClient.php \BiblioEntrezClient::setDatabase()
  2. 7 modules/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

pubmed/EntrezClient.php, line 91
EntrezClient.php Provides Entrez client to retrieve items from the NCBI databases Orginally writen by Stefan Freudenberg

Class

BiblioEntrezClient
@file EntrezClient.php Provides Entrez client to retrieve items from the NCBI databases Orginally writen by Stefan Freudenberg

Code

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