Author: Jaroslav Hanslík
Ejemplo n.º 1
0
Archivo: Client.php Proyecto: jyxo/php
 /**
  * Creates a client instance and eventually sets server address.
  * Also defines default client settings.
  *
  * @param string $url Server address
  */
 public function __construct(string $url = '')
 {
     parent::__construct($url);
     $this->options = ['output_type' => 'xml', 'verbosity' => 'pretty', 'escaping' => ['markup'], 'version' => 'xmlrpc', 'encoding' => 'utf-8'];
 }
Ejemplo n.º 2
0
 /**
  * Creates a client instance and eventually sets server address.
  * Also defines default client settings.
  *
  * @param string $url Server address
  */
 public function __construct($url = '')
 {
     parent::__construct($url);
     $this->options = array('output_type' => 'xml', 'verbosity' => 'pretty', 'escaping' => array('markup'), 'version' => 'xmlrpc', 'encoding' => 'utf-8');
 }