Public Member Functions | |
| render () | |
| Render this event in VCalendar format. | |
| setAllDay ($allDay) | |
| Set whether this is an all day event. | |
| setEndDate ($date) | |
| Set the end date of the event. | |
| setRepeat ($frequency, $endRepeat='') | |
| Set whether and how this event repeats. | |
| setStartDate ($date) | |
| Set the start date of the event. | |
This class represents a calendar event, exportable in VCalendar (iCal-compatible) format for inclusion in a complete calendar file. An event has a start and end date/time, and can be all day or can repeat.
Definition at line 13 of file SVEvent.php5.
| SVEvent::render | ( | ) |
Render this event in VCalendar format.
Render this event in VCalendar format for inclusion in a complete VCalendar file with proper headers, etc.
Definition at line 96 of file SVEvent.php5.
| SVEvent::setAllDay | ( | $ | allDay | ) |
Set whether this is an all day event.
| $allDay | [bool]: True if an all day event, false otherwise (default is false) |
Definition at line 59 of file SVEvent.php5.
| SVEvent::setEndDate | ( | $ | date | ) |
Set the end date of the event.
| $date | [string]: The end date of this event, in the format, 'YYYY-MM-DD' |
Definition at line 49 of file SVEvent.php5.
| SVEvent::setRepeat | ( | $ | frequency, | |
| $ | endRepeat = '' | |||
| ) |
Set whether and how this event repeats.
Update the repeat frequency to one of the allowed frequencies:
| $frequency | [string]: A repeat frequency (one of the class constants) | |
| $endRepeat | [string]: The date for ending repeats, in the format, 'YYYY-MM-DD' |
Definition at line 77 of file SVEvent.php5.
| SVEvent::setStartDate | ( | $ | date | ) |
Set the start date of the event.
| $date | [string]: The start date of this event, in the format, 'YYYY-MM-DD' |
Definition at line 39 of file SVEvent.php5.
1.5.6