iCalComponentA Class for representing components within an iCalendar
Located in /iCalendar.php (line 299)
Constructor iCalComponent (line 337)
A basic constructor
AddComponent (line 730)
Adds a new subcomponent
AddProperty (line 599)
Adds a new property
ClearComponents (line 687)
Clear all components, or the components matching a particular type
ClearProperties (line 562)
Clear all properties, or the properties matching a particular type
CloneConfidential (line 787)
Clone this component (and subcomponents) into a confidential version of it. A confidential event will be scrubbed of any identifying characteristics other than time/date, repeat, uid and a summary which is just a translated 'Busy'.
CollectParameterValues (line 368)
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 619)
Get all sub-components, or at least get those matching a type
GetComponents (line 669)
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 550)
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 516)
Get all properties, or the properties matching a particular type
GetPropertiesByPath (line 840)
Return an array of properties matching the specified path
GetPValue (line 534)
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 498)
Return the type of component which this is
IsAttendee (line 650)
Return true if the person identified by the email address is down as an attendee or organizer for this meeting.
IsOrganizer (line 634)
Return true if the person identified by the email address is down as an organizer for this meeting.
MaskComponents (line 748)
Mask components, removing any that are not of the types in the list
MaskProperties (line 766)
Mask properties, removing any that are not in the list
ParseFrom (line 389)
Parse the text $content into sets of iCalProp & iCalComponent within this iCalComponent
Render (line 809)
Renders the component, possibly restricted to only the listed properties
SetComponents (line 716)
Sets some or all sub-components of the component to the supplied new components
SetProperties (line 583)
Set all properties, or the ones matching a particular type
SetType (line 506)
Set the type of component which this is
UnwrapComponent (line 474)
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 352)
Apply standard properties for a VCalendar
WrapComponent (line 486)
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, 28 Dec 2010 02:01:36 +1300 by phpDocumentor 1.4.3