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