vComponentA Class for representing components within an vComponent
Located in /vComponent.php (line 382)
| Class | Description |
|---|---|
vCalendar
|
A Class for representing components within an vComponent |
array
$components
(line 406)
An array of (sub-)components, which are vComponent objects
array
$properties
(line 399)
An array of properties, which are vProperty objects
array
$rendered
(line 413)
The rendered result (or what was originally parsed, if there have been no changes)
string
$type
(line 392)
The type of this component, such as 'VEVENT', 'VTODO', 'VTIMEZONE', 'VCARD', etc.
Constructor __construct (line 420)
A basic constructor
AddComponent (line 768)
Adds a new subcomponent
AddProperty (line 666)
Adds a new property
ClearComponents (line 724)
Clear all components, or the components matching a particular type
ClearProperties (line 628)
Clear all properties, or the properties matching a particular type
CollectParameterValues (line 435)
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 685)
Return number of components
GetComponents (line 699)
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 611)
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 860)
Return an array of properties matching the specified path
GetProperty (line 583)
Return the first instance of a property of this name
GetPValue (line 600)
Return the value of the first instance of a property of this name, or null
GetType (line 565)
Return the type of component which this is
MaskComponents (line 786)
Mask components, removing any that are not of the types in the list
MaskProperties (line 804)
Mask properties, removing any that are not in the list
ParseFrom (line 456)
Parse the text $content into sets of vProperty & vComponent within this vComponent
Render (line 822)
Renders the component, possibly restricted to only the listed properties
SetComponents (line 754)
Sets some or all sub-components of the component to the supplied new components
SetProperties (line 650)
Set all properties, or the ones matching a particular type
SetType (line 573)
Set the type of component which this is
TestFilter (line 913)
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 541)
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 553)
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 846)
Documentation generated on Mon, 24 Oct 2011 20:10:16 +1300 by phpDocumentor 1.4.3