Base class for all contentline parameters
Located in /parameters.php (line 99)
| Class | Description |
|---|---|
| PhpiCalLib_ParameterFactory | The factory class for creating the right kind of PhpiCalLib_Parameter objects. |
| PhpiCalLib_Parameters_Value | The VALUE parameter. |
Regex to capture validate an iana-token
A regular expression to match the QSAFE-CHAR token.
QSAFE-CHAR = WSP / %x21 / %x23-7E / NON-US-ASCII
==>
### Note we are going to assume that the utf-8 decoding has been done for us already and that
our string is essentially in unicode
QSAFE-CHAR = %x09 / %x20-21 / %x23-7E
A regular express to match the SAFE-CHAR token.
SAFE-CHAR = WSP / %x21 / %x23-2B / %x2D-39 / %x3C-7E
/ NON-US-ASCII
; Any character except CONTROL, DQUOTE, ";", ":", ","
==>
### Note we are going to assume that the utf-8 decoding has been done for us already and that
our string is essentially in unicode
SAFE-CHAR = %x09 / %x20-21 / %x23-2B / %x2D-39 / %x3C-7E
An array to locate the converse of SafeCharRegex.
The "param-value" tokens
The "param-name" token
A quick regular expression to validate a param token.
==>
param = param-name "=" param-value *("," param-value)
param-name = iana-token / x-name
Convert a parameter name to it's defined type
Constructor
Add another parameter value
Parse a param from the string, returning the new object
Create a new Parameter object
A component would override this class, providing a new version of this function in order to choose the right kind of class to create which will offer better validation.
Access the name of the parameter
Access the component type
Note this will return PHPICALLIB_PARAMETER_IANAPARAM for components that it doesn't recognize
Get the value of this single value property
If the property has more than one value, it returns the first. If it has no values, it returns an empty string
Get all the values of this parameter
Set the name of the parameter
Set the type of the component
Set the values to a single new value
Set the new property values.
Dump the parameter to a string
Documentation generated on Tue, 01 Apr 2008 00:20:38 +0100 by phpDocumentor 1.4.0