You are here

protected property MigrateItemsXML::$cache_ids in Migrate 6.2

Given an XML object, parse out the IDs for processing and return them as an array. The location of the IDs in the XML are based on the item xpath and item ID xpath set in the constructor. eg, xpath = itemXpath . '/' . itemIDXpath IDs are cached. The list of IDs are returned from the cache except when this is the first call (ie, cache is NULL) OR the refresh parameter is TRUE.

File

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

Class

MigrateItemsXML
Implementation of MigrateItems, for providing a list of IDs and for retrieving a parsed XML document given an ID from this list.

Code

protected $cache_ids = NULL;