XD\Narrowcasting\Models\DisplayScheduleDay
Class DisplayScheduleDay
Synopsis
class DisplayScheduleDay
extends DataObject
{
- // members
- private static string $table_name = 'Narrowcasting_DisplayScheduleDay';
- private static array $db = ;
- private static array $has_one = ;
- private static array $has_many = ;
- private static string $default_sort = 'Sort ASC';
- private static array $summary_fields = ;
- // methods
- public void getCMSFields()
- protected void onBeforeWrite()
- public void getScheduledSummary()
- public string getTitle()
- private false|string sortVal()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
- $default_sort
- $has_many
- $has_one
- $summary_fields
- $table_name
Methods
private
- sortVal() — Return the sorting value by the chosen day pf the week
protected
- onBeforeWrite() — Set the title and sorting value to the day of the week
public
- getCMSFields()
- getScheduledSummary()
- getTitle() — Return the full localized day