The main iCalendar object containing ZCiCalDataNodes and ZCiCalNodes.
| Properties |
| public ?ICalendarOrg The most recently created node in the tree |
| public ?ICalendarOrg The root node of the object tree |
| Methods |
| public __construct(string $data = '', int $maxevents = 1000000, int $startevent = 0) The main iCalendar object containing ZCiCalDataNodes and ZCiCalNodes. use maxevents and startevent to read events in multiple passes (to save memory)
|
| public countEvents() : int Return the # of VEVENTs in the object |
| public countVenues() : int Return the # of VVENUEs in the object |
| public export() : string Export object to string This function exports all objects to an iCalendar string
|
| public static formatContent(string $content) : string Escape slashes, commas and semicolons in strings |
| public getFirstChild( $thisnode) : ?object Get first child in object list Use getNextSibling() and getPreviousSibling() to navigate through list
|
| public getFirstEvent() : ?object Get first event in object list Use getNextEvent() to navigate through list
|
| public getFirstVenue() : ?object Get first venue in object list Use getNextVenue() to navigate through list
|
| public getNextEvent( $event) Get next event in object list
|
| public getNextSibling( $thisnode) Get next sibling in object list
|
| public getNextVenue( $venue) Get next venue in object list
|
| public getPrevSibling( $thisnode) Get previous sibling in object list
|
| public static getTZValues(ICalendarOrg Pull timezone data from node and put in array Returning array contains the following array keys: tzoffsetfrom, tzoffsetto, tzname, dtstart, rrule
|
| Methods |
| public static formatContent(string $content) : string Escape slashes, commas and semicolons in strings |
| public static getTZValues(ICalendarOrg Pull timezone data from node and put in array Returning array contains the following array keys: tzoffsetfrom, tzoffsetto, tzname, dtstart, rrule
|