You are here

function biblio_get_style in Bibliography Module 6.2

Same name and namespace in other branches
  1. 6 biblio.module \biblio_get_style()
  2. 7 biblio.module \biblio_get_style()
  3. 7.2 biblio.module \biblio_get_style()
10 calls to biblio_get_style()
biblio_format_authors in includes/biblio_theme.inc
biblio_handler_citation::option_definition in views/biblio_handler_citation.inc
biblio_handler_field_contributor::option_definition in views/biblio_handler_field_contributor.inc
biblio_rtf_biblio_export in modules/rtf/biblio_rtf.module
biblio_show_results in includes/biblio.pages.inc
biblio_show_results takes the query results from biblio_db_search and adds some controls to the page then loops through the results applying the selected style to each entry

... See full list

File

./biblio.module, line 2460
Main file for Drupal module biblio.

Code

function biblio_get_style() {
  global $user;
  if (isset($user->biblio_user_style) && $user->biblio_user_style != "system") {
    return $user->biblio_user_style;
  }
  return module_exists('biblio_citeproc') ? variable_get('biblio_citeproc_style', 'ama.csl') : variable_get('biblio_style', 'cse');
}