You are here

public function Entry::getAuthor in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Atom/Entry.php \Zend\Feed\Reader\Extension\Atom\Entry::getAuthor()
  2. 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/DublinCore/Entry.php \Zend\Feed\Reader\Extension\DublinCore\Entry::getAuthor()
Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-feed/src/Reader/Extension/DublinCore/Entry.php \Zend\Feed\Reader\Extension\DublinCore\Entry::getAuthor()

Get an author entry

Parameters

int $index:

Return value

string

File

vendor/zendframework/zend-feed/src/Reader/Extension/DublinCore/Entry.php, line 25

Class

Entry

Namespace

Zend\Feed\Reader\Extension\DublinCore

Code

public function getAuthor($index = 0) {
  $authors = $this
    ->getAuthors();
  if (isset($authors[$index])) {
    return $authors[$index];
  }
  return;
}