public function BiblioEntrezPubmedArticle::__construct in Bibliography Module 7
Same name and namespace in other branches
- 6.2 modules/pubmed/EntrezPubmedArticle.php \BiblioEntrezPubmedArticle::__construct()
- 6 pubmed/EntrezPubmedArticle.php \BiblioEntrezPubmedArticle::__construct()
- 7.2 modules/pubmed/EntrezPubmedArticle.php \BiblioEntrezPubmedArticle::__construct()
Stores the given SimpleXMLElement the PubMed ID and the md5 hash of the serialized XML.
Parameters
$pubmedArticle: a PubmedArticle element
File
- modules/
pubmed/ EntrezPubmedArticle.php, line 29 - Provides a class for handling PubMed articles retrieved with EFetch.
Class
Code
public function __construct(SimpleXMLElement $pubmedArticle = NULL) {
if ($pubmedArticle) {
$this
->setArticle($pubmedArticle);
}
}