You are here

function biblio_get_keyword_by_id in Bibliography Module 6

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

Parameters

$kid:

Return value

unknown_type

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

File

./biblio.keywords.inc, line 48

Code

function biblio_get_keyword_by_id($kid) {
  static $keywords = array();
  if (!isset($keywords[$kid])) {
    $keywords[$kid] = db_fetch_object(db_query('SELECT * FROM {biblio_keyword_data} WHERE kid = %d', $kid));
  }
  return $keywords[$kid];
}