]> source.dussan.org Git - nextcloud-server.git/commitdiff
a bit of work for repeating events caching
authorGeorg Ehrke <dev@georgswebsite.de>
Tue, 29 May 2012 17:46:17 +0000 (19:46 +0200)
committerGeorg Ehrke <dev@georgswebsite.de>
Tue, 29 May 2012 17:46:17 +0000 (19:46 +0200)
apps/calendar/lib/repeat.php

index 6ee2e42c5921ebe39777051dc3ed4015730348b7..38d290ef5eb3706fe0fecaec7ec9deb3a6f9d013 100644 (file)
@@ -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