WebbuildersGroup\GridFieldCalendarView\Forms\GridField\GridFieldCalendarView::__construct
Constructor
Signature
public function __construct({string}
$startDateField,
{string}
$endDateField,
[string
$togglePosition = 'buttons-before-left',
[string
$titleField = 'Title',
[string
$summaryField = 'Summary',
[string
$allDayField = 'IsAllDay']]]] )
Parameters
$startDateField
—
object
- Name of the Start Date field
$endDateField
—
object
- Name of the End Date field
$togglePosition
—
string
- Position of the toggle controls
$titleField
—
string
- Name of the field to be used for the title in the calendar
$summaryField
—
string
- Name of the field to be used for the summary in the calendar
$allDayField
—
string
- Name of the field to be used to determin if the field is an all day event result must be boolean like