class BiblioStyleEndNoteXML7 in Bibliography Module 7.3
@file EndNote XML7 biblio style.
Hierarchy
- class \BiblioStyleBase implements BiblioStyleInterface
- class \BiblioStyleEndNote
- class \BiblioStyleEndNoteXML8 implements BiblioStyleImportInterface
- class \BiblioStyleEndNoteXML7
- class \BiblioStyleEndNoteXML8 implements BiblioStyleImportInterface
- class \BiblioStyleEndNote
Expanded class hierarchy of BiblioStyleEndNoteXML7
1 string reference to 'BiblioStyleEndNoteXML7'
- BiblioStyleEndNote::importData in plugins/
biblio_style/ endnote/ BiblioStyleEndNote.class.php - @inheritdoc
File
- plugins/
biblio_style/ endnote/ BiblioStyleEndNoteXML7.php, line 8 - EndNote XML7 biblio style.
View source
class BiblioStyleEndNoteXML7 extends BiblioStyleEndNoteXML8 {
/**
* @inheritdoc
*/
public function importData($data, $options = array()) {
$options['pattern'] = '/<REFERENCE_TYPE>(.*)<\\/REFERENCE_TYPE>/';
return parent::import($data, $options);
}
/**
* Render tagged.
*
* @todo: Remove option to render with XML7.
*/
public function render($options = array(), $langcode = NULL) {
}
/**
* @inheritdoc
*/
public function getMapping() {
$return = array(
'type' => array(
0 => 'journal_article',
1 => 'book',
2 => 'thesis',
3 => 'conference_proceedings',
4 => 'personal',
5 => 'newspaper_article',
6 => 'software',
7 => 'book_chapter',
8 => 'magazine_article',
9 => 'edited',
10 => 'report',
11 => 'map',
12 => 'audiovisual',
13 => 'artwork',
15 => 'patent',
16 => 'web_article',
17 => 'bill',
18 => 'case',
19 => 'hearing',
20 => 'manuscript',
21 => 'film',
22 => 'statute',
26 => 'chart',
31 => 'miscellaneous',
),
);
$parent_map = parent::getMapping();
$info = array(
'ABSTRACT' => 'abstract',
'ACCESSION_NUMBER' => 'accession-num',
'ALTERNATE_TITLE' => 'alt-title',
'CALL_NUMBER' => 'call-num',
'EDITION' => 'edition',
'ISBN' => 'isbn',
'ISSUE' => 'issue',
'LABEL' => 'label',
'NOTES' => 'notes',
'NUMBER' => 'number',
'NUMBER_OF_VOLUMES' => 'num-vols',
'ORIGINAL_PUB' => 'orig-pub',
'PAGES' => 'pages',
'PLACE_PUBLISHED' => 'pub-location',
'PUBLISHER' => 'publisher',
'REPRINT_EDITION' => 'reprint-edition',
'SECONDARY_TITLE' => 'secondary-title',
'SECTION' => 'section',
'SHORT_TITLE' => 'short-title',
'TERTIARY_TITLE' => 'tertiary-title',
'TYPE_OF_WORK' => 'work-type',
'URL' => 'url',
'VOLUME' => 'volume',
'YEAR' => 'year',
);
foreach ($info as $xml7 => $xml8) {
// Map the field info using the XML7 key but with the XML8 definitions.
$return['field'][$xml7] = $parent_map['field'][$xml8];
}
return $return;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BiblioStyleBase:: |
protected | property | The Biblio entity. | |
BiblioStyleBase:: |
protected | property | The plugin definition. | |
BiblioStyleBase:: |
public static | function | Generates an md5 string based on a biblio object. The md5 is later used to determine whether or not two Biblio objects are the same and prevent duplications. | |
BiblioStyleBase:: |
public | function | Returns Biblio Publication Type based on Publication Type. | |
BiblioStyleBase:: |
public | function | Entry point for data import. | |
BiblioStyleBase:: |
public | function | Helper function to import existing or new keywords. | |
BiblioStyleBase:: |
public | function | Searches for a biblio object identical to the given one. | |
BiblioStyleBase:: |
public | function | ||
BiblioStyleBase:: |
public | function | Given a of successful import, find duplicates or save the new Biblios. | |
BiblioStyleBase:: |
public | function | ||
BiblioStyleBase:: |
public | function |
Constructor for the notifier. Overrides BiblioStyleInterface:: |
|
BiblioStyleEndNote:: |
public | function |
Overrides BiblioStyleBase:: |
|
BiblioStyleEndNoteXML7:: |
public | function |
@inheritdoc Overrides BiblioStyleEndNoteXML8:: |
|
BiblioStyleEndNoteXML7:: |
public | function |
@inheritdoc Overrides BiblioStyleEndNoteXML8:: |
|
BiblioStyleEndNoteXML7:: |
public | function |
Render tagged. Overrides BiblioStyleEndNoteXML8:: |
|
BiblioStyleEndNoteXML8:: |
public | function | @todo: Import keywords. | |
BiblioStyleEndNoteXML8:: |
public | function | ||
BiblioStyleEndNoteXML8:: |
public | function | Import a Contributor. | |
BiblioStyleEndNoteXML8:: |
public | function | Import generic property. | |
BiblioStyleEndNoteXML8:: |
public | function | Import year and Biblio status. | |
BiblioStyleEndNoteXML8:: |
public | function |