You are here

public function Entry::setCommentFeedLinks in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Writer/Entry.php \Zend\Feed\Writer\Entry::setCommentFeedLinks()

Set a links to an XML feed for any comments associated with this entry. Each link is an array with keys "uri" and "type", where type is one of: "atom", "rss" or "rdf".

Parameters

array $links:

Return value

Entry

File

vendor/zendframework/zend-feed/src/Writer/Entry.php, line 334

Class

Entry

Namespace

Zend\Feed\Writer

Code

public function setCommentFeedLinks(array $links) {
  foreach ($links as $link) {
    $this
      ->setCommentFeedLink($link);
  }
  return $this;
}