protected function Atom::indexEntries in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Reader/Feed/Atom.php \Zend\Feed\Reader\Feed\Atom::indexEntries()
Read all entries to the internal entries array
Return value
void
Overrides AbstractFeed::indexEntries
File
- vendor/zendframework/ zend-feed/ src/ Reader/ Feed/ Atom.php, line 381 
Class
Namespace
Zend\Feed\Reader\FeedCode
protected function indexEntries() {
  if ($this
    ->getType() == Reader\Reader::TYPE_ATOM_10 || $this
    ->getType() == Reader\Reader::TYPE_ATOM_03) {
    $entries = $this->xpath
      ->evaluate('//atom:entry');
    foreach ($entries as $index => $entry) {
      $this->entries[$index] = $entry;
    }
  }
}