You are here

function biblio_get_contributor in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 includes/biblio.contributors.inc \biblio_get_contributor()
  2. 7 includes/biblio.contributors.inc \biblio_get_contributor()
  3. 7.2 includes/biblio.contributors.inc \biblio_get_contributor()

Parameters

$aid:

Return value

unknown_type

1 call to biblio_get_contributor()
_biblio_filter_info_line in ./biblio.pages.inc

File

./biblio.contributors.inc, line 6

Code

function biblio_get_contributor($aid) {
  static $contributor = array();
  if (!isset($contributor[$aid])) {
    $contributor[$aid] = db_fetch_object(db_query('SELECT * FROM {biblio_contributor_data} WHERE cid = %d', $aid));
  }
  return $contributor[$aid];
}