Devise
Interface

Devise\Calendar\Source

interface Source

A source is a plage to fetch events given a start and end time.

Our CalendarResponseHandler will use the PageVersionSource (and others possibly later) so I made an interface we can all abide by if we need to create more event sources for the full calendar

Methods

array(StdClass) fetchEvents(string $start, string $end)

Returns a list of events in FullCalendar Event format.

Details

at line 22
public array(StdClass) fetchEvents(string $start, string $end)

Returns a list of events in FullCalendar Event format.

The format can be found here: http://fullcalendar.io/docs/eventdata/EventObject/

Parameters

string $start
string $end

Return Value

array(StdClass)