You are here

private function BiblioEntrezPubmedArticle::lang in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 modules/pubmed/EntrezPubmedArticle.php \BiblioEntrezPubmedArticle::lang()
  2. 7 modules/pubmed/EntrezPubmedArticle.php \BiblioEntrezPubmedArticle::lang()
  3. 7.2 modules/pubmed/EntrezPubmedArticle.php \BiblioEntrezPubmedArticle::lang()
1 call to BiblioEntrezPubmedArticle::lang()
BiblioEntrezPubmedArticle::getBiblio in pubmed/EntrezPubmedArticle.php
Returns article elements as an associative array suitable for import into a biblio node.

File

pubmed/EntrezPubmedArticle.php, line 177
EntrezPubmedArticle.php Provides a class for handling PubMed articles retrieved with EFetch. Orginally writen by Stefan Freudenberg

Class

BiblioEntrezPubmedArticle
@file EntrezPubmedArticle.php Provides a class for handling PubMed articles retrieved with EFetch. Orginally writen by Stefan Freudenberg

Code

private function lang() {
  if (isset($this->article->Article->Language)) {
    return (string) $this->article->Article->Language;
  }
}