The XML-RPC "dom" type.
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 "dom" type.
The "dom" type extension, as described in http://ws.apache.org/xmlrpc/types.html
- Authors
- François Poirotte click.nosp@m.y@er.nosp@m.ebot..nosp@m.net
Definition at line 23 of file Dom.php.
fpoirotte\XRL\Types\Dom::__toString |
( |
| ) |
|
Return a string representation of this object's value.
- Return values
-
string | String representation of this object's value. |
Definition at line 26 of file Dom.php.
static fpoirotte\XRL\Types\Dom::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 75 of file Dom.php.
References fpoirotte\XRL\Types\AbstractType\$value.
fpoirotte\XRL\Types\Dom::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 32 of file Dom.php.
References fpoirotte\XRL\Types\AbstractType\$value.
fpoirotte\XRL\Types\Dom::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 54 of file Dom.php.
The documentation for this class was generated from the following file: