From 29b17672b4aca6e49f7b3a9a6c1cf95ff15de12f Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Tue, 29 May 2012 19:46:17 +0200 Subject: [PATCH] a bit of work for repeating events caching --- apps/calendar/lib/repeat.php | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/apps/calendar/lib/repeat.php b/apps/calendar/lib/repeat.php index 6ee2e42c59..38d290ef5e 100644 --- a/apps/calendar/lib/repeat.php +++ b/apps/calendar/lib/repeat.php @@ -36,12 +36,21 @@ class OC_Calendar_Repeat{ } /* * @brief returns the cache of all repeating events of a calendar + * @param (int) $id - id of the calendar + * @return (array) */ - public static function getcalendar(); + public static function getcalendar($id){ + + } /* * @brief returns the cache of all repeating events of a calendar in a specific period + * @param (int) $id - id of the event + * @param (string) $from - start for period in UTC + * @param (string) $until - end for period in UTC */ - public static function getcalendar_inperiod(); + public static function getcalendar_inperiod($id, $from, $until){ + + } /* * @brief generates the cache the first time */ @@ -70,4 +79,4 @@ class OC_Calendar_Repeat{ * @brief removes the cache of all events of a calendar */ public static function cleancalendar(); -} +} \ No newline at end of file