public function Feed::getNewFeedUrl 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::getNewFeedUrl()
Get the entry's new feed url
Return value
string
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ Podcast/ Feed.php, line 176
Class
Namespace
Zend\Feed\Reader\Extension\PodcastCode
public function getNewFeedUrl() {
if (isset($this->data['new-feed-url'])) {
return $this->data['new-feed-url'];
}
$newFeedUrl = $this->xpath
->evaluate('string(' . $this
->getXpathPrefix() . '/itunes:new-feed-url)');
if (!$newFeedUrl) {
$newFeedUrl = null;
}
$this->data['new-feed-url'] = $newFeedUrl;
return $this->data['new-feed-url'];
}