You are here

abstract public function MigrateItems::getIdList in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 plugins/sources/multiitems.inc \MigrateItems::getIdList()

Implementors are expected to return an array of unique IDs, suitable for passing to the MigrateItem class to retrieve the data for a single item.

Return value

Mixed, iterator or array

1 method overrides MigrateItems::getIdList()
MigrateItemsXML::getIdList in plugins/sources/xml.inc
Load the XML at the given URL, and return an array of the IDs found within it.

File

plugins/sources/multiitems.inc, line 33
Support for migration from sources where data spans multiple lines (ex. xml, json) and IDs for the items are part of each item and multiple items reside in a single file.

Class

MigrateItems
Extend the MigrateItems class to provide a means to obtain a list of IDs to be migrated from a given source (e.g., MigrateItemsXML extends MigrateItem to obtain a list of IDs from an XML document). This class also provides a means to obtain the data…

Code

public abstract function getIdList();