You are here

private function csl_names::_get_csl_name_variable in Bibliography Module 6.2

Same name and namespace in other branches
  1. 7 modules/CiteProc/CSL.inc \csl_names::_get_csl_name_variable()
1 call to csl_names::_get_csl_name_variable()
csl_names::render in modules/CiteProc/CSL.inc

File

modules/CiteProc/CSL.inc, line 899

Class

csl_names

Code

private function _get_csl_name_variable($category) {
  switch ($category) {
    case 1:
      return 'author';
      break;
    case 2:
      return 'editor';
      break;
    case 3:
      return 'translator';
      break;
    default:
  }
}