function _cse_format_author in Bibliography Module 6
Same name and namespace in other branches
- 6.2 styles/biblio_style_cse.inc \_cse_format_author()
File
- ./
biblio_style_cse.inc, line 85
Code
function _cse_format_author($author) {
$format = $author['prefix'] . ' ' . $author['lastname'] . ' ';
$format .= !empty($author['firstname']) ? ' ' . drupal_substr($author['firstname'], 0, 1) : '';
$format .= !empty($author['initials']) ? str_replace(' ', '', $author['initials']) : '';
return $format;
}