public function Entry::getAuthor in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/Atom/Entry.php \Zend\Feed\Reader\Extension\Atom\Entry::getAuthor()
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/DublinCore/Entry.php \Zend\Feed\Reader\Extension\DublinCore\Entry::getAuthor()
Same name and namespace in other branches
- 8.0 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
Namespace
Zend\Feed\Reader\Extension\DublinCoreCode
public function getAuthor($index = 0) {
$authors = $this
->getAuthors();
if (isset($authors[$index])) {
return $authors[$index];
}
return;
}