Class vProperty
A Class for representing properties within a myComponent (VCALENDAR or VCARD)
- vObject
-
vProperty
public
|
#
__construct( $name = null, & $master = null, & $refData = null, $seek = null )
Parsing of the incoming string is now performed lazily, in ParseFromIterator. You should use getter methods such as Value() and getParameterValue() instead of direct access to $content, $parameters etc, to ensure that parsing has occurred. |
public
|
#
ParseFromIterator( )
Parses the incoming string, which is formatted as per RFC2445 as a propname[;param1=pval1[; ... ]]:propvalue However we allow ourselves to assume that the RFC2445 content unescaping has already happened when myComponent::ParseFrom() called myComponent::UnwrapComponent(). |
public
|
|
public
string
|
|
public
string
|
|
public
array
|
|
public
string
|
|
public
string
|
|
public
|
|
public
|
#
ClearParameters( string|array $type = null )
Clear all parameters, or the parameters matching a particular type |
public
|
#
RenderParameters( )
Render the set of parameters as key1=value1[;key2=value2[; ...]] with any colons or semicolons escaped. |
public
|
|
public
|
|
public
boolean
|
#
TestFilter( array $filters )
Test a PROP-FILTER or PARAM-FILTER and return a true/false PROP-FILTER (is-defined | is-not-defined | ((time-range | text-match)?, param-filter)) PARAM-FILTER (is-defined | is-not-defined | ((time-range | text-match)?, param-filter)) |
public
|
|
public
|
getMaster(),
invalidate(),
isValid(),
setMaster()
|
protected
string
|
$name
The name of this property |
|
protected
array
|
$parameters
An array of parameters to this property, represented as key/value pairs. |
|
protected
string
|
$content
The value of this property. |
|
protected
ArrayIterator
|
$iterator
The original value that this was parsed from, if that's the way it happened. |
|
protected
integer
|
$seek
The original seek of iterator |
|
protected
|
$line
|
$lineHeap,
$master,
$valid
|