|
DAViCal
|
Public Member Functions | |
| __construct ( $basedate, $rrule, $is_date=null, $return_floating_times=false) | |
| hasLimitedOccurrences () | |
| set_timezone ( $tzstring) | |
| Start ($return_floating_times=false) | |
| rewind () | |
| next ($return_floating_times=false) | |
| current ($return_floating_times=false) | |
| key ($return_floating_times=false) | |
| valid () | |
Static Public Member Functions | |
| static | rrule_day_number ( $day) |
| static | date_mask ( $date, $y, $mo, $d, $h, $mi, $s) |
Private Member Functions | |
| GetMoreInstances ($return_floating_times=false) | |
| expand_bymonth () | |
| expand_bymonthday () | |
| expand_byyearday () | |
| expand_byday_in_week ( $day_in_week) | |
| expand_byday_in_month ( $day_in_month) | |
| expand_byday_in_year ( $day_in_year) | |
| expand_byday () | |
| expand_byhour () | |
| expand_byminute () | |
| expand_bysecond () | |
| limit_generally ( $fmt_char, $element_name) | |
| limit_byday () | |
| limit_bymonth () | |
| limit_byyearday () | |
| limit_bymonthday () | |
| limit_byhour () | |
| limit_byminute () | |
| limit_bysecond () | |
| limit_bysetpos () | |
Static Private Member Functions | |
| static | rrule_expand_limit ( $freq) |
This class is an implementation of RRULE parsing and expansion, as per RFC5545. It should be reasonably complete, except that it does not handle changing the WKST - there may be a few errors in unusual rules also, but all of the common cases should be handled correctly.
| RepeatRule::__construct | ( | $basedate, | |
| $rrule, | |||
$is_date = null, |
|||
$return_floating_times = false |
|||
| ) |
|
static |
|
private |
|
private |
|
private |
|
private |
| RepeatRule::hasLimitedOccurrences | ( | ) |
|
private |
| RepeatRule::next | ( | $return_floating_times = false | ) |
|
staticprivate |
This function returns an array which lists the order of processing, and whether the processing is to expand or limit based on this component.
Note that yearly-byday and monthly-byday have special handling which is coded within the expand_byday() method
| $freq | a string indicating the frequency. |