From: gggeek Date: Thu, 26 Mar 2015 10:47:02 +0000 (+0000) Subject: Aesthetic changes X-Git-Tag: 4.0.0-alpha^2~122 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7181e95b7ed0c8bb02169d0c1c0e4b5ab1bf7893;hp=ad1cc0dd94daaa32323299a260f9f7413afe8230;p=plcapi.git Aesthetic changes --- diff --git a/doc/highlight.php b/doc/highlight.php index 9f44b2c..750261b 100644 --- a/doc/highlight.php +++ b/doc/highlight.php @@ -19,11 +19,11 @@ function highlight($file) if ($code[strlen($code) - 1] == "\n") { $code = substr($code, 0, -1); } -//var_dump($code); + $code = str_replace(array('>', '<'), array('>', '<'), $code); $code = highlight_string('<?php 
', '', $code); -//echo($code); + $out = $out . substr($content, $last, $start + strlen($starttag) - $last) . $code . $endtag; $last = $end + strlen($endtag); } diff --git a/src/Client.php b/src/Client.php index ce1d6a5..4331c4c 100644 --- a/src/Client.php +++ b/src/Client.php @@ -5,16 +5,19 @@ namespace PhpXmlRpc; class Client { /// @todo: do these need to be public? - public $path; + public $method = 'http'; public $server; public $port = 0; - public $method = 'http'; + public $path; + public $errno; public $errstr; public $debug = 0; + public $username = ''; public $password = ''; public $authtype = 1; + public $cert = ''; public $certpass = ''; public $cacert = ''; @@ -24,15 +27,18 @@ class Client public $verifypeer = true; public $verifyhost = 2; public $sslversion = 0; // corresponds to CURL_SSLVERSION_DEFAULT - public $no_multicall = false; + public $proxy = ''; public $proxyport = 0; public $proxy_user = ''; public $proxy_pass = ''; public $proxy_authtype = 1; + public $cookies = array(); public $extracurlopts = array(); + public $no_multicall = false; + /** * List of http compression methods accepted by the client for responses. * NB: PHP supports deflate, gzip compressions out of the box if compiled w. zlib.