WebbuildersGroup\GridFieldCalendarView\Forms\GridField\GridFieldCalendarView
Synopsis
class GridFieldCalendarView
implements
GridField_HTMLProvider,GridField_URLHandler
{
- // members
- private $_startDateField;
- private $_endDateField;
- private $_togglePosition;
- private $_titleField;
- private $_summaryField;
- private $_allDayField;
- private array $default_options = ;
- private array $custom_options = ;
- // methods
- public void __construct()
- public {array} getHTMLFragments()
- public {GridFieldCalendarView} setStartDateField()
- public {string} getStartDateField()
- public {GridFieldCalendarView} setEndDateField()
- public {string} getEndDateField()
- public {GridFieldCalendarView} setTogglePosition()
- public {string} getTogglePosition()
- public {GridFieldCalendarView} setTitleField()
- public {string} getTitleField()
- public {GridFieldCalendarView} setSummaryField()
- public {string} getSummaryField()
- public {GridFieldCalendarView} setAllDayField()
- public {string} getAllDayField()
- public {string} getCustomOptions()
- public {GridFieldCalendarView} setCustomOptions()
- public {array} getURLHandlers()
- public {string} handleCalendarFeed()
Hierarchy
Implements
- SilverStripe\Forms\GridField\GridField_HTMLProvider
- SilverStripe\Forms\GridField\GridField_URLHandler
Members
private
- $_allDayField
- $_endDateField
- $_startDateField
- $_summaryField
- $_titleField
- $_togglePosition
- $custom_options
—
array
Overwrite the default options with your own settings - $default_options
—
array
Default options for the FullCalendar instance
Methods
public
- __construct() — Constructor
- getAllDayField() — Gets the all day field used
- getCustomOptions() — Gets the calendar options that are currently set
- getEndDateField() — Gets the end date/time field used
- getHTMLFragments() — Returns a map where the keys are fragment names and the values are pieces of HTML to add to these fragments.
- getStartDateField() — Gets the start date/time field used
- getSummaryField() — Gets the summary field used
- getTitleField() — Gets the title field used
- getTogglePosition() — Gets the position of the list/calendar toggle button
- getURLHandlers() — Return URLs to be handled by this grid field component, in an array the same form as $url_handlers.
- handleCalendarFeed() — Handles retrieving the data for the calendar
- setAllDayField() — Sets the all day field name
- setCustomOptions() — Overwrite the custom calendar options
- setEndDateField() — Sets the end date/time field name
- setStartDateField() — Sets the start date/time field name
- setSummaryField() — Sets the summary field name
- setTitleField() — Sets the title field name
- setTogglePosition() — Sets the position of the list/calendar toggle button