You are here

abstract class MigrateContentParser in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 plugins/sources/files.inc \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.

Hierarchy

Expanded class hierarchy of MigrateContentParser

File

plugins/sources/files.inc, line 25
Support for migration from files sources.

View source
abstract class MigrateContentParser {
  protected $content;
  public function setContent($content) {
    $this->content = $content;
  }
  public abstract function getChunkIDs();
  public abstract function getChunk($id);
  public abstract function getChunkCount();

}

Members