You are here

abstract public function MigrateItem::getItem in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 plugins/sources/list.inc \MigrateItem::getItem()

Implementors are expected to return an object representing a source item.

Parameters

mixed $id:

Return value

stdClass

3 methods override MigrateItem::getItem()
MigrateItemFile::getItem in plugins/sources/files.inc
Return an object representing a file or piece thereof.
MigrateItemJSON::getItem in plugins/sources/json.inc
Implementors are expected to return an object representing a source item.
MigrateItemXML::getItem in plugins/sources/xml.inc
Implementors are expected to return an object representing a source item.

File

plugins/sources/list.inc, line 58
Support for migration from sources with distinct means of listing items to import and obtaining the items themselves.

Class

MigrateItem
Extend the MigrateItem class to provide a means to obtain the data for a given migratable item given its ID as provided by the MigrateList class.

Code

public abstract function getItem($id);