File/inc/RRule-v2.php

Description

Class for parsing RRule and getting us the dates

Classes
Class Description
 class RepeatRuleTimeZone Wrap the DateTimeZone class to allow parsing some iCalendar TZID strangenesses
 class RepeatRuleDateTime Wrap the DateTime class to make it friendlier to passing in random strings from iCalendar objects, and especially the random stuff used to identify timezones. We also add some utility methods and stuff too, in order to simplify some of the operations we need to do with dates.
 class RepeatRule
Includes
 require_once ("vComponent.php") (line 662)
Functions
expand_event_instances (line 740)

Expand the event instances for an iCalendar VEVENT (or VTODO)

  • return: The original vComponent, with the instances of the internal components expanded.
vComponent expand_event_instances (object $vResource, [object $range_start = null], [object $range_end = null])
  • object $vResource: A vComponent which is a VCALENDAR containing components needing expansion
  • object $range_start: A RepeatRuleDateTime which is the beginning of the range for events, default -6 weeks
  • object $range_end: A RepeatRuleDateTime which is the end of the range for events, default +6 weeks
rdate_expand (line 673)

Expand the event instances for an RDATE or EXDATE property

  • return: An array keyed on the UTC dates, referring to the component
array rdate_expand ( $dtstart, string $property, array $component, [array $range_end = null])
  • string $property: RDATE or EXDATE, depending...
  • array $component: A vComponent which is a VEVENT, VTODO or VJOURNAL
  • array $range_end: A date after which we care less about expansion
  • $dtstart
rrule_expand (line 700)

Expand the event instances for an RRULE property

  • return: An array keyed on the UTC dates, referring to the component
array rrule_expand (object $dtstart, string $property, array $component, array $range_end)
  • object $dtstart: A RepeatRuleDateTime which is the master dtstart
  • string $property: RDATE or EXDATE, depending...
  • array $component: A vComponent which is a VEVENT, VTODO or VJOURNAL
  • array $range_end: A date after which we care less about expansion

Documentation generated on Sun, 26 Sep 2010 00:46:20 +1200 by phpDocumentor 1.4.3