diff options
Diffstat (limited to 'library/IXR_Library.php')
-rw-r--r-- | library/IXR_Library.php | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/library/IXR_Library.php b/library/IXR_Library.php index 9e2537701..c249c4845 100644 --- a/library/IXR_Library.php +++ b/library/IXR_Library.php @@ -44,7 +44,7 @@ class IXR_Value var $data; var $type; - function IXR_Value($data, $type = false) + function __construct($data, $type = false) { $this->data = $data; if (!$type) { @@ -188,7 +188,7 @@ class IXR_Message // The XML parser var $_parser; - function IXR_Message($message) + function __construct($message) { $this->message =& $message; } @@ -346,7 +346,7 @@ class IXR_Server var $message; var $capabilities; - function IXR_Server($callbacks = false, $data = false, $wait = false) + function __construct($callbacks = false, $data = false, $wait = false) { $this->setCapabilities(); if ($callbacks) { @@ -549,7 +549,7 @@ class IXR_Request var $args; var $xml; - function IXR_Request($method, $args) + function __construct($method, $args) { $this->method = $method; $this->args = $args; @@ -595,13 +595,13 @@ class IXR_Client var $useragent; var $response; var $message = false; - var $debug = false; + var $debug = true; var $timeout; // Storage place for an error message var $error = false; - function IXR_Client($server, $path = false, $port = 80, $timeout = 15) + function __construct($server, $path = false, $port = 80, $timeout = 15) { if (!$path) { // Assume we have been given a URL instead @@ -742,7 +742,7 @@ class IXR_Error var $code; var $message; - function IXR_Error($code, $message) + function __construct($code, $message) { $this->code = $code; $this->message = htmlspecialchars($message); @@ -788,7 +788,7 @@ class IXR_Date { var $second; var $timezone; - function IXR_Date($time) + function __construct($time) { // $time can be a PHP timestamp or an ISO one if (is_numeric($time)) { @@ -846,7 +846,7 @@ class IXR_Base64 { var $data; - function IXR_Base64($data) + function __construct($data) { $this->data = $data; } @@ -868,7 +868,7 @@ class IXR_IntrospectionServer extends IXR_Server var $signatures; var $help; - function IXR_IntrospectionServer() + function __construct() { $this->setCallbacks(); $this->setCapabilities(); @@ -1030,7 +1030,7 @@ class IXR_ClientMulticall extends IXR_Client { var $calls = array(); - function IXR_ClientMulticall($server, $path = false, $port = 80) + function __construct($server, $path = false, $port = 80) { parent::IXR_Client($server, $path, $port); $this->useragent = 'The Incutio XML-RPC PHP Library (multicall client)'; @@ -1101,7 +1101,7 @@ class IXR_ClientSSL extends IXR_Client * @param string $server URL of the Server to connect to * @since 0.1.0 */ - function IXR_ClientSSL($server, $path = false, $port = 443, $timeout = false) + function __construct($server, $path = false, $port = 443, $timeout = false) { parent::IXR_Client($server, $path, $port, $timeout); $this->useragent = 'The Incutio XML-RPC PHP Library for SSL'; @@ -1291,7 +1291,7 @@ class IXR_ClassServer extends IXR_Server var $_objects; var $_delim; - function IXR_ClassServer($delim = '.', $wait = false) + function __construct($delim = '.', $wait = false) { $this->IXR_Server(array(), false, $wait); $this->_delimiter = $delim; |