abstract public function MigrateContentParser::getChunkCount in Migrate 7.2
Same name and namespace in other branches
- 6.2 plugins/sources/files.inc \MigrateContentParser::getChunkCount()
Return the count of chunks in the current file.
If this returns 1, then getChunkIDs() is not called and the file is treated as a single chunk. To override this, set $alwaysUseChunkIDs to TRUE.
Return value
int The number of chunks in the current file.
1 method overrides MigrateContentParser::getChunkCount()
- MigrateSimpleContentParser::getChunkCount in plugins/
sources/ files.inc - Return the count of chunks in the current file.
File
- plugins/
sources/ files.inc, line 89 - 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 getChunkCount();