You are here

public function MigrateXMLReader::current in Migrate 7.2

Same name and namespace in other branches
  1. 6.2 plugins/sources/xml.inc \MigrateXMLReader::current()

Implementation of Iterator::current().

Return value

null|SimpleXMLElement Current item

File

plugins/sources/xml.inc, line 1094
Support for migration from XML sources.

Class

MigrateXMLReader
Makes an XMLReader object iterable, returning elements matching a restricted xpath-like syntax.

Code

public function current() {
  return $this->currentElement;
}