\WorkflowRequestChange
Tracks the history of a {@link WorkflowRequest} object.
A new object is created whenever the Status property of a request
changes, including the author and the current page version of the draft site.
Synopsis
class WorkflowRequestChange
extends DataObject
{
- // members
- public static array $db = ;
- public static array $has_one = ;
- public static array $summary_fields = ;
- public static string $sort = "\"Created\" ASC";
- public static array $casting = ;
- public static string $default_sort = "\"ID\" ASC";
- // methods
- public WorkflowRequestChange PreviousChange()
- public WorkflowRequestChange NextChange()
- public string getDiffLinkContentToPrevious()
- public void getDiffLinkToPrevious()
- public string getDiffLinkToOriginalRequest()
- public string getDiffLinkOriginalToLastPublished()
- public string getDiffLinkToLastPublished()
- public string getStatusDescription()
Hierarchy
Extends
- DataObject
Members
public
- $casting
- $db
- $default_sort
- $has_one
- $sort
- $summary_fields
Methods
public
- NextChange()
- PreviousChange()
- getDiffLinkContentToPrevious() — Compares the changes made in this specific change object with the previous change (if existing).
- getDiffLinkOriginalToLastPublished() — Compares the original change request with the currently published version. Not specific to this change object.
- getDiffLinkToLastPublished() — Compares the current change to the last published version.
- getDiffLinkToOriginalRequest() — Compares the changes made on draft since the request was first lodged.
- getDiffLinkToPrevious()
- getStatusDescription() — Gets the $Status property as a translated natural language value.