You are here

public function Creators::getCreatorString in Bibliography Module 7

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

File

modules/bibtexParse/PARSECREATORS.php, line 61
Classes Creators and PARSECREATORS.

Class

Creators

Code

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