\WorkflowDefinitionExporter
Synopsis
class WorkflowDefinitionExporter
{
- // members
- public static string $export_filename_prefix = 'workflow-definition-export';
- protected Member $member;
- protected WorkflowDefinition $workflowDefinition;
- // methods
- public void __construct()
- public void setMember()
- public WorkflowDefinition getDefinition()
- public string export()
- public void format()
- public number getExportSize()
- public ArrayData ExportMetaData()
- private void ssVersion()
- private void processTitle()
- public SS_HTTPResponse sendFile()
Members
protected
- $member — \Member
- $workflowDefinition — \WorkflowDefinition
public
- $export_filename_prefix
—
string
The base filename of the file to the exported
Methods
private
public
- __construct()
- ExportMetaData() — Generate template vars for metadata
- export() — Runs the export
- format() — Format the exported data as YAML.
- getDefinition()
- getExportSize() — Returns the size of the current export in bytes.
- sendFile() — Prompt the client for file download.
- setMember()