WebbuildersGroup\DeploymentNotes\Model\DeploymentNote
Class DeploymentNote
Synopsis
class DeploymentNote
extends DataObject
implements
CMSPreviewable
{
- // members
- private static array $db = ;
- private static array $defaults = ;
- private static string $default_sort = 'DeploymentWeekEnd DESC';
- private static array $summary_fields = ;
- private static string $table_name = 'DeploymentNote';
- // methods
- public bool canView()
- public bool canCreate()
- public bool canEdit()
- public bool canDelete()
- public FieldList getCMSFields()
- public string getTitle()
- public Validator getCMSValidator()
- public string getStatusNice()
- public string Link()
- public string AbsoluteLink()
- public bool getIsOddCycle()
- public string PreviewLink()
- public string CMSEditLink()
- public array summaryFields()
- public string getMimeType()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Implements
- SilverStripe\ORM\CMSPreviewable
Members
private
- $db
- $default_sort
- $defaults
- $summary_fields
- $table_name
Methods
public
- AbsoluteLink() — Gets the Absolute Link to this note
- CMSEditLink() — Gets the link to edit in the cms
- Link() — Gets the Relative Link to this note
- PreviewLink() — Link to view the canonical segment
- canCreate() — Checks to see if the member can create a deployment note or not
- canDelete() — Checks to see if the member can delete this deployment note or not
- canEdit() — Checks to see if the member can edit this deployment note or not
- canView() — Checks to see if the member can view this deployment note or not
- getCMSFields() — Gets fields used in the cms
- getCMSValidator() — Gets validator used in the cms
- getIsOddCycle() — Detects if this deployment has an abnormal cycle
- getMimeType() — To determine preview mechanism (e.g. embedded / iframe)
- getStatusNice() — Gets the friendly descriptions for the status enum
- getTitle() — Gets the date formatted from settings
- summaryFields() — Get the default summary fields for this object.