\FullcalendarController
Fullcalendar controller Controller/API, used for interacting with the fullcalendar js plugin
Synopsis
class FullcalendarController
extends Controller
{
- // members
- protected $event = NULL;
- protected $start = NULL;
- protected $end = NULL;
- protected boolean $allDay = false;
- protected $member = NULL;
- private static array $allowed_actions = ;
- // methods
- public void init()
- public void eventlistOffsetDate()
- public static void offset_date()
- public SS_HTTPResponse publicevents()
- public void shadedevents()
- public void eventpopup()
- public SS_HTTPResponse handleJsonResponse()
- public static void format_event_for_fullcalendar()
- public static void format_datetime_for_fullcalendar()
Hierarchy
Extends
- Controller
Members
private
- $allowed_actions
protected
- $allDay
- $end
- $event
- $member
- $start
Methods
public
- eventlistOffsetDate() — Calculate start/end date for event list Currently set to offset of 30 days
- eventpopup() — Rendering event in popup
- format_datetime_for_fullcalendar() — Format SS_Datime to fullcalendar format
- format_event_for_fullcalendar() — Format an event to comply with the fullcalendar format
- handleJsonResponse() — AJAX Json Response handler
- init()
- offset_date() — Calculate start/end date for event list TODO this should go in a helper class
- publicevents() — Handles returning the JSON events data for a time range.
- shadedevents() — Shaded events controller Shaded events for the calendar are called once on calendar initialization, hence the offset of 3000 days