Innoweb\DMS\Tasks\Silverstripe4MigrationTask
Synopsis
class Silverstripe4MigrationTask
extends BuildTask
{
- // members
- protected boolean $enabled = true;
- protected string $title = 'DMS Upgrade to SS4';
- protected string $description = 'Upgrade the DMS to SS4';
- private static string $segment = 'dms-upgrade';
- private static string $old_dms_folder = 'assets/_dmsassets';
- // methods
- public void run()
- private void migrateDocuments()
- protected void getFilenameWithoutID()
- protected void log()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
private
- $old_dms_folder
- $segment
protected
- $description
- $enabled
- $title
Methods
private
- migrateDocuments() — Migrate DMS documents to new structures - read old documents - create and save new files - update DocumentSets