You are here

public function Atom::getCommentLink in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-feed/src/Reader/Entry/Atom.php \Zend\Feed\Reader\Entry\Atom::getCommentLink()

Returns a URI pointing to the HTML page where comments can be made on this entry

Return value

string

Overrides EntryInterface::getCommentLink

File

vendor/zendframework/zend-feed/src/Reader/Entry/Atom.php, line 286

Class

Atom

Namespace

Zend\Feed\Reader\Entry

Code

public function getCommentLink() {
  if (array_key_exists('commentlink', $this->data)) {
    return $this->data['commentlink'];
  }
  $commentlink = $this
    ->getExtension('Atom')
    ->getCommentLink();
  $this->data['commentlink'] = $commentlink;
  return $this->data['commentlink'];
}