You are here

abstract public function MigrateItems::computeCount in Migrate 6.2

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

Implementors are expected to return a count of IDs available to be migrated.

Return value

int

1 method overrides MigrateItems::computeCount()
MigrateItemsXML::computeCount in plugins/sources/xml.inc
Return a count of all available IDs from the source listing.

File

plugins/sources/multiitems.inc, line 40
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 computeCount();