Author: Jaroslav Hanslík
Esempio n. 1
0
File: Client.php Progetto: 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'];
 }
Esempio 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');
 }