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
$artwork
array
public
mixed
$artwork
$audiovisual
array
public
mixed
$audiovisual
$basic
array
public
mixed
$basic
$bill
array
public
mixed
$bill
$book
array
public
mixed
$book
$book_article
array
public
mixed
$book_article
$book_chapter
array
public
mixed
$book_chapter
$broadcast
array
public
mixed
$broadcast
$brochure
array
public
mixed
$brochure
$case
array
public
mixed
$case
$chart
array
public
mixed
$chart
$classical
array
public
mixed
$classical
$conference_paper
array
public
mixed
$conference_paper
$conference_poster
array
public
mixed
$conference_poster
$database
array
public
mixed
$database
$film
array
public
mixed
$film
$genres
array
public
mixed
$genres
$government_report
array
public
mixed
$government_report
$hearing
array
public
mixed
$hearing
$journal_article
array
public
mixed
$journal_article
$legal_ruling
array
public
mixed
$legal_ruling
$magazine_article
array
public
mixed
$magazine_article
$manuscript
array
public
mixed
$manuscript
$map
array
public
mixed
$map
$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
$noMap
array
public
mixed
$noMap
$patent
array
public
mixed
$patent
$personal
array
public
mixed
$personal
$proceedings
array
public
mixed
$proceedings
$proceedings_article
array
public
mixed
$proceedings_article
$report
array
public
mixed
$report
$software
array
public
mixed
$software
$spCh
array
public
mixed
$spCh
$statute
array
public
mixed
$statute
$thesis
array
public
mixed
$thesis
$types
array
public
mixed
$types
$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
$web_site
array
public
mixed
$web_site
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.