diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-05-29 19:46:17 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-05-29 19:46:17 +0200 |
commit | 29b17672b4aca6e49f7b3a9a6c1cf95ff15de12f (patch) | |
tree | 9e8082a75edf36ec1bd3cc5ef4a28c84d0c13340 /apps/calendar/lib | |
parent | 482caa04f951c02a9a66f1f6866b79ad4edd5b29 (diff) | |
download | nextcloud-server-29b17672b4aca6e49f7b3a9a6c1cf95ff15de12f.tar.gz nextcloud-server-29b17672b4aca6e49f7b3a9a6c1cf95ff15de12f.zip |
a bit of work for repeating events caching
Diffstat (limited to 'apps/calendar/lib')
-rw-r--r-- | apps/calendar/lib/repeat.php | 15 |
1 files changed, 12 insertions, 3 deletions
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 |