function _unixref_get_contributor_category in Bibliography Module 6
1 call to _unixref_get_contributor_category()
File
- ./
crossref_unixref_parser.inc, line 186
Code
function _unixref_get_contributor_category($role) {
if ($role == 'author') {
return 1;
}
if ($role == 'editor') {
return 2;
}
if ($role == 'chair') {
return 3;
}
if ($role == 'translator') {
return 4;
}
return NULL;
}