Nag_RecurrenceThe Nag_Recurrence class implements algorithms for calculating recurrences of events, including several recurrence types, intervals, exceptions, and conversion from and to vCalendar and iCalendar recurrence rules.
All methods expecting dates as parameters accept all values that the Horde_Date constructor accepts, i.e. a timestamp, another Horde_Date object, an ISO time string or a hash.
Located in /lib/Recurrence.php (line 53)
array
$completions
= array() (line 110)
All the dates this recurrence has been marked as completed.
array
$exceptions
= array() (line 103)
All the exceptions from recurrence for this event.
integer
$recurCount
= null (line 74)
The number of recurrences.
integer
$recurData
= null (line 96)
Any additional recurrence data.
Horde_Date
$recurEnd
= null (line 67)
The end date of the recurrence interval.
integer
$recurInterval
= 1 (line 89)
The length of time between recurrences. The time unit depends on the recurrence type.
integer
$recurType
= NAG_RECUR_NONE (line 81)
The type of recurrence this event follows. NAG_RECUR_* constant.
Horde_Date
$start
(line 60)
The start time of the event.
Constructor Nag_Recurrence (line 117)
Constructor.
addCompletion (line 750)
Adds a completion to a recurring event.
addException (line 697)
Adds an exception to a recurring event.
deleteCompletion (line 762)
Deletes a completion from a recurring event.
deleteException (line 709)
Deletes an exception from a recurring event.
fromHash (line 1145)
Parses the recurrence data from a hash.
fromRRule10 (line 804)
Parses a vCalendar 1.0 recurrence rule.
fromRRule20 (line 966)
Parses an iCalendar 2.0 recurrence rule.
getCompletions (line 791)
Retrieves all the completions for this event.
getExceptions (line 738)
Retrieves all the exceptions for this event.
getRecurCount (line 252)
Retrieves the number of recurrences of this event.
getRecurEnd (line 306)
Retrieves the end date of the recurrence interval.
getRecurInterval (line 226)
Retrieves the length of time between recurrences of this event.
getRecurName (line 195)
Returns a description of this event's recurring type.
getRecurOnDays (line 152)
Returns the days this event recurs on.
getRecurStart (line 282)
Retrieves the start date of the recurrence interval.
getRecurType (line 185)
Returns recurrence type of this event.
hasActiveRecurrence (line 641)
Returns whether this event has any date that matches the recurrence rules and is not an exception.
hasCompletion (line 779)
Checks if a completion exists for a given reccurence of an event.
hasException (line 726)
Checks if an exception exists for a given reccurence of an event.
hasRecurCount (line 262)
Returns whether this event has a recurrence with a fixed count.
hasRecurEnd (line 316)
Returns whether this event has a recurrence end.
hasRecurType (line 165)
Returns whether this event has a specific recurrence type.
nextActiveRecurrence (line 675)
Returns the next active recurrence.
nextRecurrence (line 331)
Finds the next recurrence of this event that's after $afterDate.
recurOnDay (line 130)
Checks if this event recurs on a given day of the week.
setRecurCount (line 236)
Sets the number of recurrences of this event.
setRecurEnd (line 292)
Sets the end date of the recurrence interval.
setRecurInterval (line 214)
Sets the length of time between recurrences of this event.
setRecurOnDay (line 141)
Specifies the days this event recurs on.
setRecurStart (line 272)
Sets the start date of the recurrence interval.
setRecurType (line 175)
Sets a recurrence type for this event.
toHash (line 1356)
Export this object into a hash.
toRRule10 (line 898)
Creates a vCalendar 1.0 recurrence rule.
toRRule20 (line 1061)
Creates an iCalendar 2.0 recurrence rule.
Documentation generated on Sun, 30 Jan 2011 05:35:04 +0000 by phpDocumentor 1.4.3