function _save_endnote7_maps in Bibliography Module 6.2
Same name and namespace in other branches
- 7 modules/endnote/biblio_xml.install \_save_endnote7_maps()
- 7.2 modules/endnote/biblio_xml.install \_save_endnote7_maps()
1 call to _save_endnote7_maps()
- _save_xml_maps in modules/
endnote/ biblio_xml.install
File
- modules/
endnote/ biblio_xml.install, line 59 - Database table creation for biblio_xml module.
Code
function _save_endnote7_maps() {
$format = 'endnote7';
$typemap = _get_endnote7_type_map();
$typenames = _get_endnote7_type_names();
$fieldmap = _get_endnote7_field_map();
$maps = array_merge($typemap, $typenames, $fieldmap);
db_query("INSERT INTO {biblio_type_maps} (format,type_map,type_names,field_map) VALUES ('%s','%s','%s','%s')", array(
$maps['format'],
$maps['type_map'],
$maps['type_names'],
$maps['field_map'],
));
// drupal_write_record('biblio_type_maps', $maps);
}