protected function MigrateItemsXML::getItemID in Migrate 6.2
Same name and namespace in other branches
- 7.2 plugins/sources/xml.inc \MigrateItemsXML::getItemID()
Get the item ID from the itemXML based on itemIDXpath.
Return value
string
2 calls to MigrateItemsXML::getItemID()
- MigrateItemsXML::getIDsFromXML in plugins/
sources/ xml.inc - MigrateItemsXML::getItemsFromXML in plugins/
sources/ xml.inc
File
- plugins/
sources/ xml.inc, line 531 - 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 function getItemID($itemXML) {
return $this
->getElementValue($itemXML, $this->itemIDXpath);
}