Hoa central
Public Member Functions | Protected Attributes | List of all members
Hoa\XmlRpc\Message\Response Class Reference
Inheritance diagram for Hoa\XmlRpc\Message\Response:

Public Member Functions

 __construct ($response)
 
- Public Member Functions inherited from Hoa\XmlRpc\Message\Message
 __construct ($is=self::IS_SCALAR, $parent=null)
 
 withArray ()
 
 endArray ()
 
 withBase64 ($data)
 
 withBoolean ($data)
 
 withDateTime ($timestamp)
 
 withFloat ($float)
 
 withInteger ($integer)
 
 withString ($string)
 
 withStructure ()
 
 withName ($name)
 
 endStructure ()
 
 withNull ()
 
 getParent ()
 
 getValues ()
 
 getValueAsString ($value, $type)
 
 getFormattedValues ()
 

Protected Attributes

 $_response = null
 
- Protected Attributes inherited from Hoa\XmlRpc\Message\Message
 $_values = []
 
 $_parent = null
 
 $_name = 'undefined'
 
 $_is = self::IS_SCALAR
 

Additional Inherited Members

- Public Attributes inherited from Hoa\XmlRpc\Message\Message
const VALUE = 0
 
const TYPE = 1
 
const TYPE_ARRAY = 2
 
const TYPE_BASE64 = 3
 
const TYPE_BOOLEAN = 4
 
const TYPE_DATETIME = 5
 
const TYPE_FLOAT = 6
 
const TYPE_INTEGER = 7
 
const TYPE_STRING = 8
 
const TYPE_STRUCTURE = 9
 
const TYPE_NULL = 10
 
const IS_SCALAR = 11
 
const IS_ARRAY = 12
 
const IS_STRUCTURE = 13
 
- Protected Member Functions inherited from Hoa\XmlRpc\Message\Message
 _with ($value, $type)
 
 setParent ($parent)
 
 _getFormattedValues ($values)
 
 computeValues ($values, $self=null)
 

Detailed Description

Class .

Represent a response message.

Definition at line 50 of file Response.php.

Constructor & Destructor Documentation

Hoa\XmlRpc\Message\Response::__construct (   $response)

Construct a new response.

Definition at line 64 of file Response.php.

65  {
66  $buffer = new Stringbuffer\Read();
67  $buffer->initializeWith($response);
68  $this->_response = new Xml\Read($buffer, false);
69  $this->computeValues(
70  $this->_response->xpath('/methodResponse/params/param/value/*')
71  );
72 
73  return;
74  }
computeValues($values, $self=null)
Definition: Message.php:493

Here is the call graph for this function:

Member Data Documentation

Hoa\XmlRpc\Message\Response::$_response = null
protected

Definition at line 57 of file Response.php.


The documentation for this class was generated from the following file: