Author: Jaroslav Hanslík
コード例 #1
0
ファイル: Client.php プロジェクト: 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'];
 }
コード例 #2
0
ファイル: Client.php プロジェクト: JerryCR/php-2
 /**
  * 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');
 }