Hoa central
Response.php
Go to the documentation of this file.
1 <?php
2 
37 namespace Hoa\XmlRpc\Message;
38 
40 use Hoa\Xml;
41 
50 class Response extends Message
51 {
57  protected $_response = null;
58 
59 
60 
64  public function __construct($response)
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  }
75 }
computeValues($values, $self=null)
Definition: Message.php:493