You are here

function _get_csl_field_map in Bibliography Module 6.2

Same name and namespace in other branches
  1. 7 modules/CiteProc/biblio_citeproc.install \_get_csl_field_map()
  2. 7.2 modules/CiteProc/biblio_citeproc.install \_get_csl_field_map()
1 call to _get_csl_field_map()
_save_csl_maps in modules/CiteProc/biblio_citeproc.install

File

modules/CiteProc/biblio_citeproc.install, line 211

Code

function _get_csl_field_map() {
  $map['field_map'] = serialize(array(
    'title' => 'title',
    'container-title' => 'biblio_secondary_title',
    'collection-title' => 'biblio_secondary_title',
    'original-title' => 'biblio_alternate_title',
    'publisher' => 'biblio_publisher',
    'publisher-place' => 'biblio_place_published',
    'original-publisher' => '',
    'original-publisher-place' => '',
    'archive' => '',
    'archive-place' => '',
    'authority' => '',
    'archive_location' => '',
    'event' => 'biblio_secondary_title',
    'event-place' => 'biblio_place_published',
    'page' => 'biblio_pages',
    'page-first' => '',
    'locator' => '',
    'version' => 'biblio_edition',
    'volume' => 'biblio_volume',
    'number-of-volumes' => 'biblio_number_of_volumes',
    'number-of-pages' => '',
    'issue' => 'biblio_issue',
    'chapter-number' => 'biblio_section',
    'medium' => '',
    'status' => '',
    'edition' => 'biblio_edition',
    'section' => 'biblio_section',
    'genre' => '',
    'note' => 'biblio_notes',
    'annote' => '',
    'abstract' => 'biblio_abst_e',
    'keyword' => 'biblio_keywords',
    'number' => 'biblio_number',
    'references' => '',
    'URL' => 'biblio_url',
    'DOI' => 'biblio_doi',
    'ISBN' => 'biblio_isbn',
    'call-number' => 'biblio_call_number',
    'citation-number' => '',
    'citation-label' => 'biblio_citekey',
    'first-reference-note-number' => '',
    'year-suffix' => '',
    'jurisdiction' => '',
    //Date Variables'
    'issued' => 'biblio_year',
    'event' => 'biblio_date',
    'accessed' => 'biblio_accessed',
    'container' => 'biblio_date',
    'original-date' => 'biblio_date',
    //Name Variables'
    'author' => 'biblio_contributors:1',
    'editor' => 'biblio_contributors:2',
    'translator' => 'biblio_contributors:3',
    'recipient' => ':',
    'interviewer' => ':',
    'publisher' => 'biblio_publisher:',
    'composer' => ':',
    'original-publisher' => ':',
    'original-author' => ':',
    'container-author' => ':',
    'collection-editor' => ':',
  ));
  $map['format'] = 'csl';
  return $map;
}