iCalComponentA Class for representing components within an iCalendar
Located in /iCalendar.php (line 295)
Constructor iCalComponent (line 333)
A basic constructor
AddComponent (line 710)
Adds a new subcomponent
AddProperty (line 581)
Adds a new property
ClearComponents (line 669)
Clear all components, or the components matching a particular type
ClearProperties (line 544)
Clear all properties, or the properties matching a particular type
CollectParameterValues (line 364)
Collect an array of all parameters of our properties which are the specified type
Mainly used for collecting the full variety of references TZIDs
FirstNonTimezone (line 601)
Get all sub-components, or at least get those matching a type
GetComponents (line 651)
Get all sub-components, or at least get those matching a type, or failling to match, should the second parameter be set to false.
GetPParamValue (line 532)
Get the value of the specified parameter for the first property matching the name. Obviously this isn't so useful for properties which may occur multiply, but most don't.
GetProperties (line 498)
Get all properties, or the properties matching a particular type
GetPropertiesByPath (line 757)
Return an array of properties matching the specified path
GetPValue (line 516)
Get the value of the first property matching the name. Obviously this isn't so useful for properties which may occur multiply, but most don't.
GetType (line 480)
Return the type of component which this is
IsAttendee (line 632)
Return true if the person identified by the email address is down as an attendee or organizer for this meeting.
IsOrganizer (line 616)
Return true if the person identified by the email address is down as an organizer for this meeting.
ParseFrom (line 385)
Parse the text $content into sets of iCalProp & iCalComponent within this iCalComponent
Render (line 727)
Renders the component, possibly restricted to only the listed properties
SetComponents (line 698)
Sets some or all sub-components of the component to the supplied new components
SetProperties (line 565)
Set all properties, or the ones matching a particular type
SetType (line 488)
Set the type of component which this is
UnwrapComponent (line 456)
This unescapes the (CRLF + linear space) wrapping specified in RFC2445. According to RFC2445 we should always end with CRLF but the CalDAV spec says that normalising XML parsers often muck with it and may remove the CR. We accept either case.
VCalendar (line 348)
Apply standard properties for a VCalendar
WrapComponent (line 468)
This imposes the (CRLF + linear space) wrapping specified in RFC2445. According to RFC2445 we should always end with CRLF but the CalDAV spec says that normalising XML parsers often muck with it and may remove the CR. We output RFC2445 compliance.
In order to preserve pre-existing wrapping in the component, we split the incoming string on line breaks before running wordwrap over each component of that.
Documentation generated on Tue, 18 Nov 2008 18:08:56 +1300 by phpDocumentor 1.3.2