You are here

public function Rss::getLink in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/zendframework/zend-feed/src/Reader/Entry/Rss.php \Zend\Feed\Reader\Entry\Rss::getLink()
  2. 8.0 vendor/zendframework/zend-feed/src/Reader/Feed/Rss.php \Zend\Feed\Reader\Feed\Rss::getLink()
Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-feed/src/Reader/Entry/Rss.php \Zend\Feed\Reader\Entry\Rss::getLink()

Get a specific link

Parameters

int $index:

Return value

string

Overrides EntryInterface::getLink

1 call to Rss::getLink()
Rss::getPermalink in vendor/zendframework/zend-feed/src/Reader/Entry/Rss.php
Get a permalink to the entry

File

vendor/zendframework/zend-feed/src/Reader/Entry/Rss.php, line 356

Class

Rss

Namespace

Zend\Feed\Reader\Entry

Code

public function getLink($index = 0) {
  if (!array_key_exists('links', $this->data)) {
    $this
      ->getLinks();
  }
  if (isset($this->data['links'][$index])) {
    return $this->data['links'][$index];
  }
  return;
}