abstract public function MigrateContentParser::getChunk in Migrate 7.2
Same name and namespace in other branches
- 6.2 plugins/sources/files.inc \MigrateContentParser::getChunk()
Get a single chunk from the current file.
Parameters
$id: The ID for the chunk. This is one of the IDs returned by getChunkIDs().
Return value
The content of the chunk.
1 method overrides MigrateContentParser::getChunk()
- MigrateSimpleContentParser::getChunk in plugins/
sources/ files.inc - Get a single chunk from the current file.
File
- plugins/
sources/ files.inc, line 78 - Support for migration from files sources.
Class
- MigrateContentParser
- MigrateContentParser provides abstract methods that must be supported by an implementing class. We need to be able to get a list of the chunk IDs, a count, and then retrieve each chunk by it's ID.
Code
public abstract function getChunk($id);