public function Rss::getCommentFeedLink in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Reader/Entry/Rss.php \Zend\Feed\Reader\Entry\Rss::getCommentFeedLink()
Returns a URI pointing to a feed of all comments for this entry
Return value
string
Overrides EntryInterface::getCommentFeedLink
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Entry/ Rss.php, line 557
Class
Namespace
Zend\Feed\Reader\EntryCode
public function getCommentFeedLink() {
if (array_key_exists('commentfeedlink', $this->data)) {
return $this->data['commentfeedlink'];
}
$commentfeedlink = $this
->getExtension('WellFormedWeb')
->getCommentFeedLink();
if (!$commentfeedlink) {
$commentfeedlink = $this
->getExtension('Atom')
->getCommentFeedLink('rss');
}
if (!$commentfeedlink) {
$commentfeedlink = $this
->getExtension('Atom')
->getCommentFeedLink('rdf');
}
if (!$commentfeedlink) {
$commentfeedlink = null;
}
$this->data['commentfeedlink'] = $commentfeedlink;
return $this->data['commentfeedlink'];
}