WIKINDX API trunk

BIBTEXMAP
in package

Map BibTeX fields

Table of Contents

Properties

$artwork  : mixed
array
$audiovisual  : mixed
array
$basic  : mixed
array
$bill  : mixed
array
$book  : mixed
array
$book_article  : mixed
array
$book_chapter  : mixed
array
$broadcast  : mixed
array
$brochure  : mixed
array
$case  : mixed
array
$chart  : mixed
array
$classical  : mixed
array
$conference_paper  : mixed
array
$conference_poster  : mixed
array
$database  : mixed
array
$film  : mixed
array
$genres  : mixed
array
$government_report  : mixed
array
$hearing  : mixed
array
$journal_article  : mixed
array
$legal_ruling  : mixed
array
$magazine_article  : mixed
array
$manuscript  : mixed
array
$map  : mixed
array
$miscellaneous  : mixed
array
$miscellaneous_section  : mixed
array
$music_album  : mixed
array
$music_score  : mixed
array
$music_track  : mixed
array
$newspaper_article  : mixed
array
$noMap  : mixed
array
$patent  : mixed
array
$personal  : mixed
array
$proceedings  : mixed
array
$proceedings_article  : mixed
array
$report  : mixed
array
$software  : mixed
array
$spCh  : mixed
array
$statute  : mixed
array
$thesis  : mixed
array
$types  : mixed
array
$unpublished  : mixed
array
$validFields  : mixed
array
$web_article  : mixed
array
$web_encyclopaedia  : mixed
array
$web_encyclopaedia_article  : mixed
array
$web_encyclopedia  : mixed
array
$web_encyclopedia_article  : mixed
array
$web_site  : mixed
array

Methods

__construct()  : mixed
BIBTEXMAP
loadMap()  : mixed
Create arrays based on database table and resource type.

Properties

$audiovisual

array

public mixed $audiovisual

$book_article

array

public mixed $book_article

$book_chapter

array

public mixed $book_chapter

$conference_paper

array

public mixed $conference_paper

$conference_poster

array

public mixed $conference_poster

$government_report

array

public mixed $government_report

$journal_article

array

public mixed $journal_article

array

public mixed $legal_ruling

$magazine_article

array

public mixed $magazine_article

$miscellaneous

array

public mixed $miscellaneous

$miscellaneous_section

array

public mixed $miscellaneous_section

$music_album

array

public mixed $music_album

$music_score

array

public mixed $music_score

$music_track

array

public mixed $music_track

$newspaper_article

array

public mixed $newspaper_article

$proceedings

array

public mixed $proceedings

$proceedings_article

array

public mixed $proceedings_article

$unpublished

array

public mixed $unpublished

$validFields

array

public mixed $validFields

$web_article

array

public mixed $web_article

$web_encyclopaedia

array

public mixed $web_encyclopaedia

$web_encyclopaedia_article

array

public mixed $web_encyclopaedia_article

$web_encyclopedia

array

public mixed $web_encyclopedia

$web_encyclopedia_article

array

public mixed $web_encyclopedia_article

Methods

__construct()

BIBTEXMAP

public __construct() : mixed

loadMap()

Create arrays based on database table and resource type.

public loadMap() : mixed

The arrays are named for WIKINDX resource types. The key of the resource_xxx arrays is the database field within the resource_xxx database table. For exporting BibTeX files this is not needed but isused for BibTeX import. The key of the resource_xxx array is the WIKINDX field in that table while the value is the BibTeX equivalent field. For an export, these keys can be found as the fields in the SQL $row assoc. array in core/file/export/BIBTEX.php.

The database matrix can be found in docs/resourceDatabaseMatrix.html

Some things must be sorted out on the fly in the import/export code: 1/ BibTeX only has a field 'Pages' whereas WIKINDX uses pageStart and pageEnd fields. 2/ The 'howpublished' key is intended for bibTex's misc types. For web_article and database resource types, this is added in the code so don't add it here. 3/ The resource_creator array has keys that represent the resourcecreatorRole field in the resource_creator table. Here, '1' is the primary author while '2' is the secondary author (usually editor for bibtex). 4/ Most dates (newspaper, magazine, hearing etc.) have to be created on the fly from database fields miscField2 (day) and miscField3 (month). 5/ A WIKINDX 'title' is comprised of subtitle, title and noSort fields.

When importing a bibTeX file, you must ignore the 'howpublished' key as defined here and deal with any @misc howpublished field manually in the code.

The 'possible' array lists ALL possible fields that wikindx will accept for each type when importing.


        
On this page

Search results