diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-06-01 11:30:54 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-06-01 11:30:54 +0200 |
commit | 7a8e3226793aebdbd4bcf12ef6c7d020c8cd378d (patch) | |
tree | bbf584e2b0c35207c09076a2b37a8b403a2200eb /apps/calendar/lib | |
parent | c5cc70c0e3878f5e9903348310606b296de0993d (diff) | |
download | nextcloud-server-7a8e3226793aebdbd4bcf12ef6c7d020c8cd378d.tar.gz nextcloud-server-7a8e3226793aebdbd4bcf12ef6c7d020c8cd378d.zip |
some work for repeating events caching
Diffstat (limited to 'apps/calendar/lib')
-rw-r--r-- | apps/calendar/lib/repeat.php | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/apps/calendar/lib/repeat.php b/apps/calendar/lib/repeat.php index 38d290ef5eb..89cafa388c6 100644 --- a/apps/calendar/lib/repeat.php +++ b/apps/calendar/lib/repeat.php @@ -54,29 +54,49 @@ class OC_Calendar_Repeat{ /* * @brief generates the cache the first time */ - public static function generate(); + public static function generate($id){ + + } /* * @brief generates the cache the first time for all repeating event of an calendar */ - public static function generatecalendar(); + public static function generatecalendar($id){ + + } /* * @brief updates an event that is already cached */ - public static function update(); + public static function update($id){ + + } /* * @brief updates all repating events of a calendar that are already cached */ - public static function updatecalendar(); + public static function updatecalendar($id){ + + } /* * @brief checks if an event is already cached */ - public static function is_cached(); + public static function is_cached($id){ + + } + /* + * @brief checks if a whole calendar is already cached + */ + public static function is_calendar_cached($id){ + + } /* * @brief removes the cache of an event */ - public static function clean(); + public static function clean($id){ + + } /* * @brief removes the cache of all events of a calendar */ - public static function cleancalendar(); + public static function cleancalendar($id){ + + } }
\ No newline at end of file |