public function Feed::getFeedLink in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Atom/Feed.php \Zend\Feed\Reader\Extension\Atom\Feed::getFeedLink()
Get a link to the feed's XML Url
Return value
string|null
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ Atom/ Feed.php, line 341
Class
Namespace
Zend\Feed\Reader\Extension\AtomCode
public function getFeedLink() {
if (array_key_exists('feedlink', $this->data)) {
return $this->data['feedlink'];
}
$link = $this->xpath
->evaluate('string(' . $this
->getXpathPrefix() . '/atom:link[@rel="self"]/@href)');
$link = $this
->absolutiseUri($link);
$this->data['feedlink'] = $link;
return $this->data['feedlink'];
}