Andrew's Web Libraries (AWL)
|
Public Member Functions | |
__construct ( $propstring=null) | |
ParseFrom ( $propstring) | |
SplitQuoted ($str, $sep=',', $limit=0) | |
Name ( $newname=null) | |
Value ( $newvalue=null) | |
Parameters ( $newparams=null) | |
TextMatch ( $search) | |
GetParameterValue ( $name) | |
SetParameterValue ( $name, $value) | |
RenderParameters () | |
Render () | |
Public Attributes | |
$name | |
$parameters | |
$content | |
$rendered | |
Definition at line 57 of file iCalendar.php.
iCalProp::__construct | ( | $propstring = null | ) |
#- The constructor 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 iCalComponent::ParseFrom() called iCalComponent::UnwrapComponent().
string | $propstring | The string from the iCalendar which contains this property. |
Definition at line 100 of file iCalendar.php.
iCalProp::GetParameterValue | ( | $name | ) |
Get the value of a parameter
string | $name | The name of the parameter to retrieve the value for |
Definition at line 268 of file iCalendar.php.
iCalProp::Name | ( | $newname = null | ) |
Get/Set name property
string | $newname | [optional] A new name for the property |
Definition at line 204 of file iCalendar.php.
iCalProp::Parameters | ( | $newparams = null | ) |
Get/Set parameters in their entirety
array | $newparams | An array of new parameter key/value pairs |
Definition at line 237 of file iCalendar.php.
iCalProp::ParseFrom | ( | $propstring | ) |
The constructor 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 iCalComponent::ParseFrom() called iCalComponent::UnwrapComponent().
string | $propstring | The string from the iCalendar which contains this property. |
Definition at line 119 of file iCalendar.php.
iCalProp::Render | ( | ) |
Render a suitably escaped RFC2445 content string.
Content escaping does not apply to these properties culled from RFC2445
Content escaping applies by default to other properties
Definition at line 301 of file iCalendar.php.
iCalProp::RenderParameters | ( | ) |
Render the set of parameters as key1=value1[;key2=value2[; ...]] with any colons or semicolons escaped.
Definition at line 288 of file iCalendar.php.
iCalProp::SetParameterValue | ( | $name, | |
$value | |||
) |
Set the value of a parameter
string | $name | The name of the parameter to set the value for |
string | $value | The value of the parameter |
Definition at line 279 of file iCalendar.php.
iCalProp::SplitQuoted | ( | $str, | |
$sep = ',' , |
|||
$limit = 0 |
|||
) |
Splits quoted strings
string | $str | The string |
string | $sep | The delimeter character |
integer | $limit | Limit number of results, rest of string in last element |
Definition at line 166 of file iCalendar.php.
iCalProp::TextMatch | ( | $search | ) |
Test if our value contains a string
string | $search | The needle which we shall search the haystack for. |
Definition at line 253 of file iCalendar.php.
iCalProp::Value | ( | $newvalue = null | ) |
Get/Set the content of the property
string | $newvalue | [optional] A new value for the property |
Definition at line 221 of file iCalendar.php.