Sunnysideup\MigrateData\Tasks\ReviewInternalLinks
Synopsis
class ReviewInternalLinks
extends MigrateDataTaskBase
{
- // members
- protected string $title = 'Review Internal Links';
- protected string $description = 'Goes through all the imported content and reviews internal links';
- protected integer $type = 0;
- protected integer $count = 0;
- protected integer $step = 10;
- protected integer $filter = 10;
- protected array $allLinks = ;
- protected array $replacements = ;
- protected array $fieldsToTest = ;
- protected static array $filtered_class_names = ;
- // Inherited members from MigrateDataTaskBase
- protected string $title;
- protected string $description;
- protected boolean $enabled;
- protected $_schema;
- protected $_schemaForDataObject;
- // methods
- public void run()
- public void printFields()
- protected void performMigration()
- private void cleanupLittleMistake()
- // Inherited methods from MigrateDataTaskBase
- public void run()
- protected abstract void performMigration()
- protected void runMoveData()
- protected void migrateSimple()
- // Inherited methods from HelperMethods
- public void deleteObject()
- protected void runSQLQueries()
- protected void runUpdateQuery()
- protected void runPublishClasses()
- protected void makeTableObsolete()
- protected void tableExists()
- protected void fieldExists()
- protected void renameField()
- protected void getSchema()
- protected void getSchemaForDataObject()
- protected void getListOfIDs()
- protected void getListAsIterableQuery()
- protected void writeObject()
- protected void writePage()
Hierarchy
Members
protected
- $_schema
- $_schemaForDataObject
- $allLinks
- $count
- $description
- $description
- $enabled
- $fieldsToTest
- $filter
- $filtered_class_names
- $replacements
- $step
- $title
- $title
- $type
Methods
private
protected
public
Inherited from Sunnysideup\MigrateData\Tasks\MigrateDataTaskBase
protected
- migrateSimple() — Migrates data from one table to another.
- performMigration() — Queries the config for Migrate definitions, and runs migrations if you extend this task then overwrite it this method.
- runMoveData() — data needs to be in this format: [ 'include_inserts' => true|false, #assumed true if not provided 'old_table' => 'foo', 'new_table' => 'bar' (can be the same!).
public
Inherited from Sunnysideup\MigrateData\Traits\HelperMethods
protected
- fieldExists()
- getListAsIterableQuery()
- getListOfIDs()
- getSchema()
- getSchemaForDataObject()
- makeTableObsolete()
- renameField()
- runPublishClasses()
- runSQLQueries()
- runUpdateQuery()
- tableExists()
- writeObject()
- writePage()