function _save_marc_maps in Bibliography Module 7.2
Same name and namespace in other branches
- 6.2 modules/marcParse/biblio_marc.install \_save_marc_maps()
- 7 modules/marcParse/biblio_marc.install \_save_marc_maps()
1 call to _save_marc_maps()
- biblio_marc_install in modules/
marcParse/ biblio_marc.install - Implementation of hook_install().
File
- modules/
marcParse/ biblio_marc.install, line 33 - Database table creation for biblio_marc module.
Code
function _save_marc_maps() {
$maps['type_map'] = serialize(array(
'ab' => 102,
// Journal Article
'as' => 102,
// Journal Article
'am' => 100,
// Book
2 => 108,
// Thesis
3 => 103,
// Conference Proceedings
4 => 120,
// Personal Communication
5 => 105,
// NewsPaper Article
6 => 113,
// Computer Program
'aa' => 101,
// Book Section
8 => 106,
// Magazine Article
9 => 100,
// Edited Book
10 => 109,
// Report
'em' => 122,
// Map
12 => 114,
// Audiovisual Material
13 => 112,
// Artwork
15 => 119,
// Patent
16 => 107,
// Electronic Source
17 => 117,
// Bill
18 => 116,
// Case
19 => 115,
// Hearing
20 => 121,
// Manuscript
21 => 110,
// Film or Broadcast
22 => 118,
// Statute
26 => 123,
// Chart or Table
31 => 129,
));
$maps['type_names'] = serialize(array());
$maps['field_map'] = serialize(array());
$maps['format'] = 'marc';
biblio_save_map($maps);
}