The XML-RPC "nil" type for null values.
More...
|
static | parse ($value,\DateTimeZone $timezone=null) |
|
static | parse ($value,\DateTimeZone $timezone=null) |
|
|
static | read ($value,\DateTimeZone $timezone=null) |
|
| $value |
| Current value associated with this object.
|
|
The XML-RPC "nil" type for null values.
- Authors
- François Poirotte click.nosp@m.y@er.nosp@m.ebot..nosp@m.net
Definition at line 20 of file Nil.php.
static fpoirotte\XRL\Types\Nil::parse |
( |
|
$value, |
|
|
\DateTimeZone |
$timezone = null |
|
) |
| |
|
staticprotected |
Parse a string into a value compatible with this type.
- Parameters
-
string | $value | String to parse. |
DateTimeZone | $timezone | Timezone to use when converting dates/times. |
- Return values
-
mixed | A value compatible with this type. |
Definition at line 41 of file Nil.php.
References fpoirotte\XRL\Types\AbstractType\$value.
fpoirotte\XRL\Types\Nil::set |
( |
|
$value | ) |
|
Change the value associated with the object.
- Parameters
-
- Returns
- This method does not return any value.
- Exceptions
-
InvalidArgumentException | The given value is invalid for this type of object. |
Definition at line 23 of file Nil.php.
References fpoirotte\XRL\Types\AbstractType\$value.
fpoirotte\XRL\Types\Nil::write |
( |
\XMLWriter |
$writer, |
|
|
\DateTimeZone |
$timezone, |
|
|
|
$stringTag |
|
) |
| |
Export this object's value to XML.
- Parameters
-
XMLWriter | $writer | Writer the value will be exported to. |
DateTimeZone | $timezone | Timezone to use when exporting dates/times. |
bool | $stringTag | Whether to use <string> tags at all when encoding strings. |
- Returns
- This method does not return any value.
Definition at line 31 of file Nil.php.
The documentation for this class was generated from the following file: