Symbiote\AdvancedWorkflow\Dev\WorkflowBulkLoader
Utility class to facilitate a simple YML-import via the standard CMS ImportForm() logic.
- License: BSD License (http://silverstripe.org/bsd-license/)
Synopsis
class WorkflowBulkLoader
extends BulkLoader
{
- // methods
- public void preview()
- protected void processAll()
- protected number processRecord()
- protected ImportedWorkflowTemplate createImport()
Hierarchy
Extends
- SilverStripe\Dev\BulkLoader
Tasks
Line | Task |
---|---|
63 | is this the best way to extract records (nested array keys)?? |
Methods
protected
- createImport() — Create the ImportedWorkflowTemplate record for the uploaded YML file.
- processAll()
- processRecord()