You are here

function _classic_format_author in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 styles/biblio_style_classic.inc \_classic_format_author()
  2. 7.2 styles/biblio_style_classic.inc \_classic_format_author()

File

./biblio_style_classic.inc, line 80

Code

function _classic_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;
}