Call populatePlanning functions for all $CFG_GLPI['planning_types'] types
static public constructEventsArray ( array $options = [] ) : array | ||
$options | array | with this keys: - begin: mandatory, planning start. (should be an ISO_8601 date, but could be anything wo can be parsed by strtotime) - end: mandatory, planning end. (should be an ISO_8601 date, but could be anything wo can be parsed by strtotime) - display_done_events: default true, show also events tagged as done |
return | array | $events : array with events in fullcalendar.io format |