UncleCheese\EventCalendar\Models\CalendarDateTime
Synopsis
class CalendarDateTime
extends DataObject
{
- // members
- private static string $table_name = 'UncleCheese_CalendarDateTime';
- private static array $db = ;
- private static array $has_one = ;
- private static string $singular_name = "Event date and time";
- private static string $plural_name = "Event dates and times";
- private static $date_format_override;
- private static $time_format_override;
- private static string $default_sort = "StartDate ASC, StartTime ASC";
- private static string $formatted_field_empty_string = '--';
- private static string $time_range_separator = ' — ';
- private static string $offset = "+00:00";
- // methods
- public void getCMSFields()
- public void summaryFields()
- public string Link()
- public string getDateRange()
- public string getTimeRange()
- public bool Announcement()
- public DataList getOtherDates()
- public string MicroformatStart()
- public string MicroformatEnd()
- public string ICSLink()
- public string getFormattedStartDate()
- public string getFormattedEndDate()
- public string getFormattedStartTime()
- public string getFormattedEndTime()
- public string getFormattedAllDay()
- public string getTitle()
- public string getContent()
- public array getAllDatesInRange()
- public bool canCreate()
- public bool canEdit()
- public bool canDelete()
- public bool canView()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $date_format_override — string
- $db
- $default_sort
- $formatted_field_empty_string
- $has_one
- $offset
—
string
Set to the timezone offset (E.g. +12:00 for GMT+12). Must be in ISO 8601 format - $plural_name
- $singular_name
- $table_name
- $time_format_override — string
- $time_range_separator
Methods
public
- Announcement()
- ICSLink()
- Link()
- MicroformatEnd()
- MicroformatStart()
- canCreate()
- canDelete()
- canEdit()
- canView()
- getAllDatesInRange()
- getCMSFields()
- getContent()
- getDateRange()
- getFormattedAllDay()
- getFormattedEndDate()
- getFormattedEndTime()
- getFormattedStartDate()
- getFormattedStartTime()
- getOtherDates()
- getTimeRange()
- getTitle()
- summaryFields()