a bit of work for repeating events caching

This commit is contained in:
Georg Ehrke 2012-05-29 19:46:17 +02:00
parent 482caa04f9
commit 29b17672b4
1 changed files with 12 additions and 3 deletions

View 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();
}
}