From b1cae9651eb1d61b2fe9cc69766c533cb87f46b8 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Sat, 12 May 2012 23:00:21 +0200 Subject: [PATCH] add functions get cached events in a specific time period --- apps/calendar/lib/repeat.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/calendar/lib/repeat.php b/apps/calendar/lib/repeat.php index fe2ba7cfa83..af335d4b72e 100644 --- a/apps/calendar/lib/repeat.php +++ b/apps/calendar/lib/repeat.php @@ -14,10 +14,18 @@ class OC_Calendar_Repeat{ * @brief returns the cache of an event */ public static function get(); + /* + * @brief returns the cache of an event in a specific peroid + */ + public static function get_inperiod(); /* * @brief returns the cache of all events of a calendar */ public static function getcalendar(); + /* + * @brief returns the cache of all events of a calendar in a specific period + */ + public static function getcalendar_inperiod(); /* * @brief generates the cache the first time */ @@ -38,4 +46,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 +}