From e509fc24d904831759071134361bef1503d4ff87 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 15 Mar 2016 23:59:33 +0100 Subject: * facade for event list fetch --- app/php/facades/EventFacade.php | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 app/php/facades/EventFacade.php (limited to 'app/php/facades') diff --git a/app/php/facades/EventFacade.php b/app/php/facades/EventFacade.php new file mode 100644 index 0000000..6ed739f --- /dev/null +++ b/app/php/facades/EventFacade.php @@ -0,0 +1,35 @@ +quoteString($calendar->UID); + }, + $calendars + ) + ) + ); + } + return $this->fetchList( + 'getEvents', + array( + 'date_from' => $dateFrom ?: '0000-00-00 00:00:00', + 'date_to' => $dateTo ?: '9999-99-99', + 'calendar_clause' => $calendarClause + ) + ); + } + +} + +?> -- cgit v1.2.3