vComponentA Class for representing components within an vComponent
Located in /vComponent.php (line 357)
| Class | Description |
|---|---|
VCalendar
|
A Class for representing components within an vComponent |
array
$components
(line 381)
An array of (sub-)components, which are vComponent objects
array
$properties
(line 374)
An array of properties, which are vProperty objects
array
$rendered
(line 388)
The rendered result (or what was originally parsed, if there have been no changes)
string
$type
(line 367)
The type of this component, such as 'VEVENT', 'VTODO', 'VTIMEZONE', 'VCARD', etc.
Constructor __construct (line 395)
A basic constructor
AddComponent (line 743)
Adds a new subcomponent
AddProperty (line 641)
Adds a new property
ClearComponents (line 699)
Clear all components, or the components matching a particular type
ClearProperties (line 603)
Clear all properties, or the properties matching a particular type
CollectParameterValues (line 410)
Collect an array of all parameters of our properties which are the specified type
Mainly used for collecting the full variety of references TZIDs
ComponentCount (line 660)
Return number of components
GetComponents (line 674)
Get all sub-components, or at least get those matching a type, or failling to match, should the second parameter be set to false. Component types may be a string or an array associating property names with true values: array( 'TYPE' => true, 'TYPE2' => true )
GetProperties (line 586)
Get all properties, or the properties matching a particular type, or matching an
array associating property names with true values: array( 'PROPERTY' => true, 'PROPERTY2' => true )
GetPropertiesByPath (line 835)
Return an array of properties matching the specified path
GetProperty (line 558)
Return the first instance of a property of this name
GetPValue (line 575)
Return the value of the first instance of a property of this name, or null
GetType (line 540)
Return the type of component which this is
MaskComponents (line 761)
Mask components, removing any that are not of the types in the list
MaskProperties (line 779)
Mask properties, removing any that are not in the list
ParseFrom (line 431)
Parse the text $content into sets of vProperty & vComponent within this vComponent
Render (line 797)
Renders the component, possibly restricted to only the listed properties
SetComponents (line 729)
Sets some or all sub-components of the component to the supplied new components
SetProperties (line 625)
Set all properties, or the ones matching a particular type
SetType (line 548)
Set the type of component which this is
TestFilter (line 888)
Test a PROP-FILTER or COMP-FILTER and return a true/false COMP-FILTER (is-defined | is-not-defined | (time-range?, prop-filter*, comp-filter*)) PROP-FILTER (is-defined | is-not-defined | ((time-range | text-match)?, param-filter*))
UnwrapComponent (line 516)
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.
WrapComponent (line 528)
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.
__toString (line 821)
Documentation generated on Sun, 11 Sep 2011 00:31:50 +1200 by phpDocumentor 1.4.3