You are here

public function Atom::getLinks 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::getLinks()

Get all links

Return value

array

Overrides EntryInterface::getLinks

1 call to Atom::getLinks()
Atom::getLink in vendor/zendframework/zend-feed/src/Reader/Entry/Atom.php
Get a specific link

File

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

Class

Atom

Namespace

Zend\Feed\Reader\Entry

Code

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