You are here

function _cse_format_author in Bibliography Module 6.2

Same name and namespace in other branches
  1. 6 biblio_style_cse.inc \_cse_format_author()

File

styles/biblio_style_cse.inc, line 87

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