Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

__call(
string $method, array $args
)
:
mixed
Cast properties to PHP values
For arrays, loops through each element and casts to a value as well.
Name | Type | Description |
---|---|---|
$method | string | |
$args | array |
Type | Description |
---|---|
mixed |

__construct(
string $data
)
:
void
Constructor
Name | Type | Description |
---|---|---|
$data | string | XML Result |

__get(
string $name
)
:
null|\SimpleXMLElement|array
Get Property Overload
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
null|\SimpleXMLElement|array | Null if not found, SimpleXMLElement if only one value found, array of Zend_Rest_Client_Result objects otherwise |

__isset(
string $name
)
:
boolean
Isset Overload
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
boolean |

__toString(
)
:
string
toString overload
Be sure to only call this when the result is a single value!
Type | Description |
---|---|
string |

getIterator(
)
:
\SimpleXMLIterator
Implement IteratorAggregate::getIterator()
Type | Description |
---|---|
\SimpleXMLIterator |

handleXmlErrors(
int $errno, string $errstr, string $errfile
=
null, string $errline
=
null, array $errcontext
=
null
)
:
true
Temporary error handler for parsing REST responses.
Name | Type | Description |
---|---|---|
$errno | int | |
$errstr | string | |
$errfile | string | |
$errline | string | |
$errcontext | array |
Type | Description |
---|---|
true |