_domDocument = $source->ownerDocument; $this->_xpath = new DOMXPath($this->_domDocument); $this->_data['type'] = $type; $this->_registerNamespaces(); $this->_loadExtensions(); $atomClass = Zend_Feed_Reader::getPluginLoader()->getClassName('Atom_Feed'); $this->_extensions['Atom_Feed'] = new $atomClass($this->_domDocument, $this->_data['type'], $this->_xpath); $atomClass = Zend_Feed_Reader::getPluginLoader()->getClassName('DublinCore_Feed'); $this->_extensions['DublinCore_Feed'] = new $atomClass($this->_domDocument, $this->_data['type'], $this->_xpath); foreach ($this->_extensions as $extension) { $extension->setXpathPrefix(rtrim($xpathPrefix, '/') . '/atom:source'); } } /** * Since this is not an Entry carrier but a vehicle for Feed metadata, any * applicable Entry methods are stubbed out and do nothing. */ /** * @return void */ public function count() {} /** * @return void */ public function current() {} /** * @return void */ public function key() {} /** * @return void */ public function next() {} /** * @return void */ public function rewind() {} /** * @return void */ public function valid() {} /** * @return void */ protected function _indexEntries() {} }