public function Rss::getFeedLink in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-feed/src/Reader/Feed/Rss.php \Zend\Feed\Reader\Feed\Rss::getFeedLink()
Get a link to the feed XML
Return value
string|null
Overrides FeedInterface::getFeedLink
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Feed/ Rss.php, line 503
Class
Namespace
Zend\Feed\Reader\FeedCode
public function getFeedLink() {
if (array_key_exists('feedlink', $this->data)) {
return $this->data['feedlink'];
}
$link = $this
->getExtension('Atom')
->getFeedLink();
if ($link === null || empty($link)) {
$link = $this
->getOriginalSourceUri();
}
$this->data['feedlink'] = $link;
return $this->data['feedlink'];
}