public function BiblioStyleEndNoteTagged::getMapping in Bibliography Module 7.3
@inheritdoc
Overrides BiblioStyleBase::getMapping
6 calls to BiblioStyleEndNoteTagged::getMapping()
- BiblioStyleEndNoteTagged::importData in plugins/
biblio_style/ endnote/ BiblioStyleEndNoteTagged.php - @inheritdoc
- BiblioStyleEndNoteTagged::importEntryContributors in plugins/
biblio_style/ endnote/ BiblioStyleEndNoteTagged.php - Create Biblio Contributor entities.
- BiblioStyleEndNoteTagged::importEntryGeneric in plugins/
biblio_style/ endnote/ BiblioStyleEndNoteTagged.php - BiblioStyleEndNoteTagged::render in plugins/
biblio_style/ endnote/ BiblioStyleEndNoteTagged.php - @inheritdoc
- BiblioStyleEndNoteTagged::renderEntryContributors in plugins/
biblio_style/ endnote/ BiblioStyleEndNoteTagged.php
File
- plugins/
biblio_style/ endnote/ BiblioStyleEndNoteTagged.php, line 182 - EndNote tagged biblio style.
Class
- BiblioStyleEndNoteTagged
- @file EndNote tagged biblio style.
Code
public function getMapping() {
$return = parent::getMapping();
$return['type'] = array(
'Artwork' => 'artwork',
'Audiovisual Material' => 'audiovisual',
'Bill' => 'bill',
'Book' => 'book',
'Book Section' => 'book_chapter',
'Case' => 'case',
'Chart or Table' => 'chart',
'Classical Work' => 'classical',
'Conference Paper' => 'conference_paper',
'Conference Proceedings' => 'conference_proceedings',
'Edited Book' => 'book',
'Film or Broadcast' => 'film',
'Generic' => 'miscellaneous',
'Government Document' => 'government_report',
'Hearing' => 'hearing',
'Journal Article' => 'journal_article',
'Legal Rule or Regulation' => 'legal_ruling',
'Magazine Article' => 'magazine_article',
'Manuscript' => 'manuscript',
'Map' => 'map',
'Newspaper Article' => 'newspaper_article',
'Online Database' => 'database',
'Patent' => 'patent',
'Personal Communication' => 'personal',
'Report' => 'report',
'Statute' => 'statute',
'Thesis' => 'thesis',
'Unpublished Work' => 'unpublished',
'Web Page' => 'web_article',
);
$return['field'] = array(
'%A' => array(
'import_method' => 'importEntryContributors',
'render_method' => 'renderEntryContributors',
'role' => 'Author',
'execute_once' => TRUE,
),
'%B' => array(
'property' => 'biblio_secondary_title',
'render_method' => 'renderEntrySecondaryTitle',
'execute_once' => TRUE,
),
'%C' => array(
'property' => 'biblio_place_published',
),
'%D' => array(
'property' => 'biblio_year',
),
'%E' => array(
'import_method' => 'importEntryContributors',
'render_method' => 'renderEntryContributors',
'role' => 'Secondary Author',
'execute_once' => TRUE,
),
'%F' => array(
'property' => 'biblio_label',
),
'%G' => array(
'property' => 'biblio_language',
),
'%I' => array(
'property' => 'biblio_publisher',
),
'%J' => array(
'property' => 'biblio_secondary_title',
'render_method' => 'renderEntrySecondaryTitle',
'execute_once' => TRUE,
),
'%K' => array(
'property' => 'biblio_keywords',
'render_method' => 'renderEntryKeywords',
),
'%L' => array(
'property' => 'biblio_call_number',
),
'%M' => array(
'property' => 'biblio_accession_number',
),
'%N' => array(
'property' => 'biblio_issue',
),
'%P' => array(
'property' => 'biblio_pages',
),
'%R' => array(
'property' => 'biblio_doi',
),
'%S' => array(
'property' => 'biblio_tertiary_title',
),
'%T' => array(
'property' => 'title',
),
'%U' => array(
'property' => 'biblio_url',
),
'%V' => array(
'property' => 'biblio_volume',
),
'%X' => array(
'property' => 'biblio_abstract',
),
'%Y' => array(
'import_method' => 'importEntryContributors',
'render_method' => 'renderEntryContributors',
'role' => 'Tertiary Author',
'execute_once' => TRUE,
),
'%X' => array(
'property' => 'biblio_notes',
),
'%1' => array(
'property' => 'biblio_custom1',
),
'%2' => array(
'property' => 'biblio_custom2',
),
'%3' => array(
'property' => 'biblio_custom3',
),
'%4' => array(
'property' => 'biblio_custom4',
),
'%#' => array(
'property' => 'biblio_custom5',
),
'%$' => array(
'property' => 'biblio_custom6',
),
'%]' => array(
'property' => 'biblio_custom7',
),
'%6' => array(
'property' => 'biblio_number_of_volumes',
),
'%7' => array(
'property' => 'biblio_edition',
),
'%8' => array(
'property' => 'biblio_date',
),
'%9' => array(
'property' => 'biblio_type_of_work',
),
'%?' => array(
'import_method' => 'importEntryContributors',
'render_method' => 'renderEntryContributors',
'role' => 'Subsidiary Author',
'execute_once' => TRUE,
),
'%@' => array(
'property' => 'biblio_isbn',
),
'%<' => array(
'property' => 'biblio_research_notes',
),
'%>' => array(
'property' => 'biblio_pdf',
// @todo: We can try and download the file.
'import_method' => FALSE,
'render_method' => 'renderEntryFile',
),
'%!' => array(
'property' => 'biblio_short_title',
),
'%&' => array(
'property' => 'biblio_section',
),
'%(' => array(
'property' => 'biblio_original_publication',
),
'%)' => array(
'property' => 'biblio_reprint_edition',
),
);
// Assign default import method.
foreach ($return['field'] as $key => $value) {
$return['field'][$key] += array(
'import_method' => 'importEntryGeneric',
'render_method' => 'renderEntryGeneric',
'execute_once' => FALSE,
);
}
return $return;
}