Zend Framework
1.12
|
Public Member Functions | |
__construct ($data) | |
Constructor. | |
handleXmlErrors ($errno, $errstr, $errfile=null, $errline=null, array $errcontext=null) | |
Temporary error handler for parsing REST responses. | |
toValue (SimpleXMLElement $value) | |
Casts a SimpleXMLElement to its appropriate PHP value. | |
__get ($name) | |
Get Property Overload. | |
__call ($method, $args) | |
Cast properties to PHP values. | |
__isset ($name) | |
Isset Overload. | |
getIterator () | |
Implement IteratorAggregate::getIterator() | |
getStatus () | |
Get Request Status. | |
isError () | |
isSuccess () | |
__toString () | |
toString overload | |
Protected Attributes | |
$_sxml | |
$_errstr | |
__construct | ( | $data | ) |
Constructor.
string | $data | XML Result |
__call | ( | $method, | |
$args | |||
) |
Cast properties to PHP values.
For arrays, loops through each element and casts to a value as well.
string | $method | |
array | $args |
__get | ( | $name | ) |
Get Property Overload.
string | $name |
__isset | ( | $name | ) |
Isset Overload.
string | $name |
__toString | ( | ) |
toString overload
Be sure to only call this when the result is a single value!
getIterator | ( | ) |
Implement IteratorAggregate::getIterator()
getStatus | ( | ) |
Get Request Status.
handleXmlErrors | ( | $errno, | |
$errstr, | |||
$errfile = null , |
|||
$errline = null , |
|||
array | $errcontext = null |
||
) |
Temporary error handler for parsing REST responses.
int | $errno | |
string | $errstr | |
string | $errfile | |
string | $errline | |
array | $errcontext |
isError | ( | ) |
isSuccess | ( | ) |
toValue | ( | SimpleXMLElement | $value | ) |
Casts a SimpleXMLElement to its appropriate PHP value.
SimpleXMLElement | $value |
|
protected |
|
protected |