You are here

public function MigrateSourceXML::performRewind in Migrate 7.2

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

Implementation of MigrateSource::performRewind().

File

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

Class

MigrateSourceXML
Implementation of MigrateSource, to handle imports from XML files.

Code

public function performRewind() {

  // Set the reader back to the beginning of the file (positioned to the
  // first matching element), then apply our logic to make sure we have the
  // first element fulfilling our logic (idlist/map/prepareRow()).
  $this->activeUrl = NULL;
  $this->reader = NULL;
}