public function BiblioCrossRefClient::_unixref_field_map in Bibliography Module 7
Same name and namespace in other branches
- 6.2 modules/crossref/biblio.crossref.client.php \BiblioCrossRefClient::_unixref_field_map()
- 7.2 modules/crossref/biblio.crossref.client.php \BiblioCrossRefClient::_unixref_field_map()
Map a unixref XML field to a biblio field.
1 call to BiblioCrossRefClient::_unixref_field_map()
- BiblioCrossRefClient::unixref_characterData in modules/
crossref/ biblio.crossref.client.php
File
- modules/
crossref/ biblio.crossref.client.php, line 420
Class
Code
public function _unixref_field_map($field) {
if (empty($this->field_map)) {
$this->field_map = unserialize(db_query("SELECT field_map FROM {biblio_type_maps} WHERE format='crossref'")
->fetchField());
}
return isset($this->field_map[$field]) ? $this->field_map[$field] : FALSE;
}