diff options
author | Greg Aker <greg.aker@ellislab.com> | 2010-11-10 22:26:43 +0100 |
---|---|---|
committer | Greg Aker <greg.aker@ellislab.com> | 2010-11-10 22:26:43 +0100 |
commit | a926328583e7ffdaaac7daf2f87810d842423f21 (patch) | |
tree | 7e4b62b3029de2a7273ab94d30148a60e496ada7 /system/libraries/Xmlrpc.php | |
parent | 579fde36e4f8cc294edec4fd4eefe06f4df09dda (diff) |
Changing all class constructors to __construct()
Diffstat (limited to 'system/libraries/Xmlrpc.php')
-rw-r--r-- | system/libraries/Xmlrpc.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/system/libraries/Xmlrpc.php b/system/libraries/Xmlrpc.php index 44cdffecd..3ae5bad45 100644 --- a/system/libraries/Xmlrpc.php +++ b/system/libraries/Xmlrpc.php @@ -69,7 +69,7 @@ class CI_Xmlrpc { // VALUES THAT MULTIPLE CLASSES NEED //------------------------------------- - function CI_Xmlrpc ($config = array()) + public function __construct($config = array()) { $this->xmlrpcName = $this->xmlrpcName; $this->xmlrpc_backslash = chr(92).chr(92); @@ -360,9 +360,9 @@ class XML_RPC_Client extends CI_Xmlrpc var $timeout = 5; var $no_multicall = false; - function XML_RPC_Client($path, $server, $port=80) + public function __construct($path, $server, $port=80) { - parent::CI_Xmlrpc(); + parent::__construct(); $this->port = $port; $this->server = $server; @@ -436,7 +436,7 @@ class XML_RPC_Response var $headers = array(); var $xss_clean = TRUE; - function XML_RPC_Response($val, $code = 0, $fstr = '') + public function __construct($val, $code = 0, $fstr = '') { if ($code != 0) { @@ -621,9 +621,9 @@ class XML_RPC_Message extends CI_Xmlrpc var $params = array(); var $xh = array(); - function XML_RPC_Message($method, $pars=0) + public function __construct($method, $pars=0) { - parent::CI_Xmlrpc(); + parent::__construct(); $this->method_name = $method; if (is_array($pars) && count($pars) > 0) @@ -1223,9 +1223,9 @@ class XML_RPC_Values extends CI_Xmlrpc var $me = array(); var $mytype = 0; - function XML_RPC_Values($val=-1, $type='') + public function __construct($val=-1, $type='') { - parent::CI_Xmlrpc(); + parent::__construct(); if ($val != -1 OR $type != '') { |