/**
  * Construct a new XML_RPC2_Client PHP Backend.
  *
  * To create a new XML_RPC2_Client, a URI must be provided (e.g. http://xmlrpc.example.com/1.0/). 
  * Optionally, some options may be set
  *
  * @param string URI for the XML-RPC server
  * @param array (optional) Associative array of options
  */
 public function __construct($uri, $options = array())
 {
     parent::__construct($uri, $options);
     if ($this->encoding != 'utf-8') {
         throw new XML_RPC2_Exception('XML_RPC2_Backend_Php does not support any encoding other than utf-8, due to a simplexml limitation');
     }
 }
Exemple #2
0
 /**
  * Construct a new XML_RPC2_Client PHP Backend.
  *
  * A URI must be provided (e.g. http://xmlrpc.example.com/1.0/). 
  * Optionally, some options may be set.
  *
  * @param string URI for the XML-RPC server
  * @param array (optional) Associative array of options
  */
 public function __construct($uri, $options = array())
 {
     parent::__construct($uri, $options);
 }