\WorkflowActionInstance
Synopsis
class WorkflowActionInstance
extends DataObject
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $summary_fields = ;
- // methods
- public void fieldLabels()
- public void updateWorkflowFields()
- public void updateFrontendWorkflowFields()
- public DataObject getFrontEndDataObject()
- public void updateFrontEndWorkflowActions()
- public void getRequiredFields()
- public void setFrontendFormRequirements()
- public void doFrontEndAction()
- public string getTitle()
- public ArrayList getValidTransitions()
- public void actionStart()
- public void actionComplete()
- public bool canEditTarget()
- public bool canViewTarget()
- public bool canPublishTarget()
- public void canView()
- public void canEdit()
- public void canDelete()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
- $has_one
- $summary_fields
Methods
public
- actionComplete() — Called when this action has been completed within the workflow
- actionStart() — Called when this instance is started within the workflow
- canDelete()
- canEdit()
- canEditTarget() — Can documents in the current workflow state be edited?
- canPublishTarget() — Does this action restrict the publishing of a document?
- canView()
- canViewTarget() — Does this action restrict viewing of the document?
- doFrontEndAction()
- fieldLabels()
- getFrontEndDataObject() — Gets Front-End DataObject
- getRequiredFields()
- getTitle() — Gets the title of this active action instance
- getValidTransitions() — Returns all the valid transitions that lead out from this action.
- setFrontendFormRequirements()
- updateFrontEndWorkflowActions()
- updateFrontendWorkflowFields()
- updateWorkflowFields() — Gets fields for when this is part of an active workflow