public function DomXMLFIReader::get in Feed Import 7.3
This method returns the next available item or NULL if there are no items left.
Return value
mixed The read item
Overrides FeedImportReader::get
File
- feed_import_base/
inc/ feed_import_readers.inc, line 257 - This file contains implementations of feed import readers.
Class
- DomXMLFIReader
- DomDocument XML reader
Code
public function get() {
if ($this->currentItem < $this->totalItems) {
return $this->items
->item($this->currentItem++);
}
unset($this->items);
return NULL;
}