From: Georg Ehrke Date: Tue, 29 May 2012 17:46:17 +0000 (+0200) Subject: a bit of work for repeating events caching X-Git-Tag: v4.5.0beta1~74^2~407^2~66 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=29b17672b4aca6e49f7b3a9a6c1cf95ff15de12f;p=nextcloud-server.git a bit of work for repeating events caching --- diff --git a/apps/calendar/lib/repeat.php b/apps/calendar/lib/repeat.php index 6ee2e42c592..38d290ef5eb 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