public function MigrateListXML::__construct in Migrate 7.2
Same name and namespace in other branches
- 6.2 plugins/sources/xml.inc \MigrateListXML::__construct()
Overrides MigrateList::__construct
File
- plugins/
sources/ xml.inc, line 47 - 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, array $namespaces = array()) {
parent::__construct();
$this->listUrl = $list_url;
$this->namespaces = $namespaces;
// Suppress errors during parsing, so we can pick them up after.
libxml_use_internal_errors(TRUE);
}