You are here

public function MigrateListXML::__construct in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 plugins/sources/xml.inc \MigrateListXML::__construct()

Overrides MigrateList::__construct

File

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

Class

MigrateListXML
Implementation of MigrateList, for retrieving a list of IDs to be migrated from an XML document.

Code

public function __construct($list_url) {
  parent::__construct();
  $this->listUrl = $list_url;

  // Suppress errors during parsing, so we can pick them up after
  libxml_use_internal_errors(TRUE);
}