public function Entry::getCastAuthor in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Podcast/Entry.php \Zend\Feed\Reader\Extension\Podcast\Entry::getCastAuthor()
Get the entry author
Return value
string
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ Podcast/ Entry.php, line 23
Class
Namespace
Zend\Feed\Reader\Extension\PodcastCode
public function getCastAuthor() {
if (isset($this->data['author'])) {
return $this->data['author'];
}
$author = $this->xpath
->evaluate('string(' . $this
->getXpathPrefix() . '/itunes:author)');
if (!$author) {
$author = null;
}
$this->data['author'] = $author;
return $this->data['author'];
}