Class Zend_Rest_Client_Result

Description

Implements interfaces:

  • IteratorAggregate (internal interface)

  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Rest/Client/Result.php (line 29)


	
			
Method Summary
 void __construct (string $data)
 SimpleXMLIterator getIterator ()
 boolean getStatus ()
 void isError ()
 void isSuccess ()
 mixed toValue ( $value)
 mixed __call (string $method, array $args)
 null|SimpleXMLElement|array __get (string $name)
 boolean __isset (string $name)
 string __toString ()
Methods
Constructor __construct (line 41)

Constructor

  • access: public
void __construct (string $data)
  • string $data: XML Result
getIterator (line 135)

Implement IteratorAggregate::getIterator()

  • access: public
SimpleXMLIterator getIterator ()

Implementation of:
IteratorAggregate::getIterator
getStatus (line 145)

Get Request Status

  • access: public
boolean getStatus ()
isError (line 160)
  • access: public
void isError ()
isSuccess (line 170)
  • access: public
void isSuccess ()
toValue (line 52)

Casts a SimpleXMLElement to its appropriate PHP value

  • access: public
mixed toValue ( $value)
  • SimpleXMLElement $value
__call (line 91)

Cast properties to PHP values

For arrays, loops through each element and casts to a value as well.

  • access: public
mixed __call (string $method, array $args)
  • string $method
  • array $args
__get (line 64)

Get Property Overload

  • return: Null if not found, SimpleXMLElement if only one value found, array of Zend_Rest_Client_Result objects otherwise
  • access: public
null|SimpleXMLElement|array __get (string $name)
  • string $name
__isset (line 115)

Isset Overload

  • access: public
boolean __isset (string $name)
  • string $name
__toString (line 187)

toString overload

Be sure to only call this when the result is a single value!

  • access: public
string __toString ()

Documentation generated on Wed, 21 Feb 2007 11:58:42 -0800 by phpDocumentor 1.3.1