\WorkflowEmbargoExpiryExtension
Synopsis
class WorkflowEmbargoExpiryExtension
extends DataExtension
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $dependencies = ;
- public static boolean $showTimePicker = true;
- public WorkflowService $workflowService;
- public bool $isWorkflowInEffect = false;
- public static array $extendedMethodReturn = ;
- // methods
- public void updateCMSFields()
- protected void clearPublishJob()
- protected void clearUnPublishJob()
- protected void ensurePublishJob()
- protected void ensureUnPublishJob()
- public void onBeforeWrite()
- public void getIntroMessageParts()
- public void getIntroMessage()
- public void getCMSValidator()
- public void getUserDate()
- public void setIsWorkflowInEffect()
- public void getIsWorkflowInEffect()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Members
private
- $db
- $dependencies
- $has_one
public
- $extendedMethodReturn
—
array
A basic extended validation routine method return format - $isWorkflowInEffect
—
bool
Is a workflow in effect? - $showTimePicker
- $workflowService — WorkflowService
Methods
protected
- clearPublishJob() — Clears any existing publish job against this dataobject
- clearUnPublishJob() — Clears any existing unpublish job
- ensurePublishJob() — Ensure the existence of a publish job at the specified time
- ensureUnPublishJob() — Ensure the existence of an unpublish job at the specified time
public
- getCMSValidator()
- getIntroMessage()
- getIntroMessageParts()
- getIsWorkflowInEffect()
- getUserDate()
- onBeforeWrite() — {@see PublishItemWorkflowAction} for approval of requested publish dates
- setIsWorkflowInEffect()
- updateCMSFields()