@@ -24,9 +24,6 @@ |
||
24 | 24 | * |
25 | 25 | * @param xmlrpc_client client object, properly set up to connect to server |
26 | 26 | * @param string remote function name |
27 | - * @param mixed $parameter1 |
|
28 | - * @param mixed $parameter2 |
|
29 | - * @param mixed $parameter3 ... |
|
30 | 27 | * @return xmlrpcresp or false on error |
31 | 28 | */ |
32 | 29 | function xmlrpccall_simple() |
@@ -536,7 +536,7 @@ discard block |
||
536 | 536 | * |
537 | 537 | * @param xmlrpc_client $client an xmlrpc client set up correctly to communicate with target server |
538 | 538 | * @param string $methodname the xmlrpc method to be mapped to a php function |
539 | - * @param array $extra_options array of options that specify conversion details. valid options include |
|
539 | + * @param integer $extra_options array of options that specify conversion details. valid options include |
|
540 | 540 | * integer signum the index of the method signature to use in mapping (if method exposes many sigs) |
541 | 541 | * integer timeout timeout (in secs) to be used when executing function/calling remote method |
542 | 542 | * string protocol 'http' (default), 'http11' or 'https' |
@@ -805,6 +805,8 @@ discard block |
||
805 | 805 | * valid php code is emitted. |
806 | 806 | * Note: real spaghetti code follows... |
807 | 807 | * @access private |
808 | + * @param xmlrpc_client $client |
|
809 | + * @param string $methodname |
|
808 | 810 | */ |
809 | 811 | function build_remote_method_wrapper_code($client, $methodname, $xmlrpcfuncname, |
810 | 812 | $msig, $mdesc='', $timeout=0, $protocol='', $client_copy_mode=0, $prefix='xmlrpc', |
@@ -1239,6 +1239,7 @@ discard block |
||
1239 | 1239 | |
1240 | 1240 | /** |
1241 | 1241 | * @access private |
1242 | + * @param integer $port |
|
1242 | 1243 | */ |
1243 | 1244 | function &sendPayloadHTTP10($msg, $server, $port, $timeout=0, |
1244 | 1245 | $username='', $password='', $authtype=1, $proxyhost='', |
@@ -1427,6 +1428,7 @@ discard block |
||
1427 | 1428 | |
1428 | 1429 | /** |
1429 | 1430 | * @access private |
1431 | + * @param integer $port |
|
1430 | 1432 | */ |
1431 | 1433 | function &sendPayloadHTTPS($msg, $server, $port, $timeout=0, $username='', |
1432 | 1434 | $password='', $authtype=1, $cert='',$certpass='', $cacert='', $cacertdir='', |
@@ -1818,6 +1820,8 @@ discard block |
||
1818 | 1820 | * Returns either an array of xmlrpcreponses, an xmlrpc error response |
1819 | 1821 | * or false (when received response does not respect valid multicall syntax) |
1820 | 1822 | * @access private |
1823 | + * @param integer $timeout |
|
1824 | + * @param string $method |
|
1821 | 1825 | */ |
1822 | 1826 | function _try_multicall($msgs, $timeout, $method) |
1823 | 1827 | { |
@@ -2044,7 +2048,7 @@ discard block |
||
2044 | 2048 | |
2045 | 2049 | /** |
2046 | 2050 | * Returns the value received by the server. |
2047 | - * @return mixed the xmlrpcval object returned by the server. Might be an xml string or php value if the response has been created by specially configured xmlrpc_client objects |
|
2051 | + * @return integer the xmlrpcval object returned by the server. Might be an xml string or php value if the response has been created by specially configured xmlrpc_client objects |
|
2048 | 2052 | * @access public |
2049 | 2053 | */ |
2050 | 2054 | function value() |
@@ -2137,7 +2141,7 @@ discard block |
||
2137 | 2141 | |
2138 | 2142 | /** |
2139 | 2143 | * @param string $meth the name of the method to invoke |
2140 | - * @param array $pars array of parameters to be passed to the method (xmlrpcval objects) |
|
2144 | + * @param integer $pars array of parameters to be passed to the method (xmlrpcval objects) |
|
2141 | 2145 | */ |
2142 | 2146 | function __construct($meth, $pars=0) |
2143 | 2147 | { |
@@ -2302,6 +2306,7 @@ discard block |
||
2302 | 2306 | /** |
2303 | 2307 | * Parses HTTP headers and separates them from data. |
2304 | 2308 | * @access private |
2309 | + * @param string $data |
|
2305 | 2310 | */ |
2306 | 2311 | function &parseResponseHeaders(&$data, $headers_processed=false) |
2307 | 2312 | { |
@@ -2776,7 +2781,7 @@ discard block |
||
2776 | 2781 | var $_php_class=null; |
2777 | 2782 | |
2778 | 2783 | /** |
2779 | - * @param mixed $val |
|
2784 | + * @param integer $val |
|
2780 | 2785 | * @param string $type any valid xmlrpc type name (lowercase). If null, 'string' is assumed |
2781 | 2786 | */ |
2782 | 2787 | function __construct($val=-1, $type='') |
@@ -2843,7 +2848,7 @@ discard block |
||
2843 | 2848 | |
2844 | 2849 | /** |
2845 | 2850 | * Add a single php value to an (unitialized) xmlrpcval |
2846 | - * @param mixed $val |
|
2851 | + * @param boolean $val |
|
2847 | 2852 | * @param string $type |
2848 | 2853 | * @return int 1 or 0 on failure |
2849 | 2854 | */ |
@@ -494,8 +494,8 @@ discard block |
||
494 | 494 | var $user_data = null; |
495 | 495 | |
496 | 496 | /** |
497 | - * @param array $dispmap the dispatch map with definition of exposed services |
|
498 | - * @param boolean $servicenow set to false to prevent the server from running upon construction |
|
497 | + * @param array $dispMap the dispatch map with definition of exposed services |
|
498 | + * @param boolean $serviceNow set to false to prevent the server from running upon construction |
|
499 | 499 | */ |
500 | 500 | function __construct($dispMap=null, $serviceNow=true) |
501 | 501 | { |
@@ -785,7 +785,8 @@ discard block |
||
785 | 785 | |
786 | 786 | /** |
787 | 787 | * Parse http headers received along with xmlrpc request. If needed, inflate request |
788 | - * @return mixed null on success or an xmlrpcresp |
|
788 | + * @param string $data |
|
789 | + * @return xmlrpcresp|null null on success or an xmlrpcresp |
|
789 | 790 | * @access private |
790 | 791 | */ |
791 | 792 | function parseRequestHeaders(&$data, &$req_encoding, &$resp_encoding, &$resp_compression) |