CRM_Event_ICalendar
in package
Class to generate various "icalendar" type event feeds
Table of Contents
Methods
- run() : mixed
- Heart of the iCalendar data assignment process. The runner gets all the meta data for the event and calls the method to output the iCalendar to the user. If gData param is passed on the URL, outputs gData XML format.
- gCalRedirect() : mixed
Methods
run()
Heart of the iCalendar data assignment process. The runner gets all the meta data for the event and calls the method to output the iCalendar to the user. If gData param is passed on the URL, outputs gData XML format.
public
static run() : mixed
Else outputs iCalendar format per IETF RFC2445. Page param true means send to browser as inline content. Else, we send .ics file as attachment.
gCalRedirect()
protected
static gCalRedirect(array<string|int, mixed> $events) : mixed
Parameters
- $events : array<string|int, mixed>