You are here

function Creators::getCreatorString in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 modules/bibtexParse/PARSECREATORS.php \Creators::getCreatorString()
  2. 7.3 plugins/biblio_style/bibtex/PARSECREATORS.php \Creators::getCreatorString()
  3. 7 modules/bibtexParse/PARSECREATORS.php \Creators::getCreatorString()
  4. 7.2 modules/bibtexParse/PARSECREATORS.php \Creators::getCreatorString()

File

bibtexParse/PARSECREATORS.php, line 42

Class

Creators

Code

function getCreatorString() {
  foreach ($this->authors as $key => $author) {
    $author_array[$author['rank']] = $author['firstname'] . ' ' . $author['initials'] . ' ' . $author['lastname'];
  }
  ksort($author_array);
  return implode(',  ', $author_array);
}