You are here

function _biblio_pm_load in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 modules/pubmed/biblio_pm.module \_biblio_pm_load()

File

pubmed/biblio_pm.module, line 198

Code

function _biblio_pm_load($node) {
  static $result = array();
  if (empty($result[$node->nid])) {
    return $result[$node->nid] = db_fetch_array(db_query('SELECT  biblio_pubmed_id  FROM {biblio_pubmed} WHERE nid = %d', $node->nid));
  }
  return $result[$node->nid];
}