public function Atom::getAuthors in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-feed/src/Reader/Entry/Atom.php \Zend\Feed\Reader\Entry\Atom::getAuthors()
- 8 vendor/zendframework/zend-feed/src/Reader/Feed/Atom.php \Zend\Feed\Reader\Feed\Atom::getAuthors()
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Reader/Entry/Atom.php \Zend\Feed\Reader\Entry\Atom::getAuthors()
Get an array with feed authors
Return value
array
Overrides EntryInterface::getAuthors
1 call to Atom::getAuthors()
- Atom::getAuthor in vendor/
zendframework/ zend-feed/ src/ Reader/ Entry/ Atom.php - Get the specified author
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Entry/ Atom.php, line 73
Class
Namespace
Zend\Feed\Reader\EntryCode
public function getAuthors() {
if (array_key_exists('authors', $this->data)) {
return $this->data['authors'];
}
$people = $this
->getExtension('Atom')
->getAuthors();
$this->data['authors'] = $people;
return $this->data['authors'];
}