You are here

public function AbstractFeed::getLink in Zircon Profile 8

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

Get a link to the HTML source

Return value

string|null

File

vendor/zendframework/zend-feed/src/Writer/AbstractFeed.php, line 672

Class

AbstractFeed

Namespace

Zend\Feed\Writer

Code

public function getLink() {
  if (!array_key_exists('link', $this->data)) {
    return;
  }
  return $this->data['link'];
}