@@ -48,6 +48,10 @@ |
||
| 48 | 48 | * uses current |
| 49 | 49 | * @return BlogTree |
| 50 | 50 | */ |
| 51 | + |
|
| 52 | + /** |
|
| 53 | + * @param BlogTree $page |
|
| 54 | + */ |
|
| 51 | 55 | static function current($page = null) { |
| 52 | 56 | |
| 53 | 57 | if (!$page && Controller::has_curr()) { |
@@ -944,8 +944,6 @@ discard block |
||
| 944 | 944 | |
| 945 | 945 | /** |
| 946 | 946 | * Enables/disables the echoing to screen of the xmlrpc responses received |
| 947 | - * @param integer $debug values 0, 1 and 2 are supported (2 = echo sent msg too, before received response) |
|
| 948 | - * @access public |
|
| 949 | 947 | */ |
| 950 | 948 | function setDebug($in) |
| 951 | 949 | { |
@@ -1228,6 +1226,7 @@ discard block |
||
| 1228 | 1226 | |
| 1229 | 1227 | /** |
| 1230 | 1228 | * @access private |
| 1229 | + * @param integer $port |
|
| 1231 | 1230 | */ |
| 1232 | 1231 | function &sendPayloadHTTP10($msg, $server, $port, $timeout=0, |
| 1233 | 1232 | $username='', $password='', $authtype=1, $proxyhost='', |
@@ -1413,6 +1412,7 @@ discard block |
||
| 1413 | 1412 | |
| 1414 | 1413 | /** |
| 1415 | 1414 | * @access private |
| 1415 | + * @param integer $port |
|
| 1416 | 1416 | */ |
| 1417 | 1417 | function &sendPayloadHTTPS($msg, $server, $port, $timeout=0, $username='', |
| 1418 | 1418 | $password='', $authtype=1, $cert='',$certpass='', $cacert='', $cacertdir='', |
@@ -1786,6 +1786,8 @@ discard block |
||
| 1786 | 1786 | * Returns either an array of xmlrpcreponses, an xmlrpc error response |
| 1787 | 1787 | * or false (when received response does not respect valid multicall syntax) |
| 1788 | 1788 | * @access private |
| 1789 | + * @param integer $timeout |
|
| 1790 | + * @param string $method |
|
| 1789 | 1791 | */ |
| 1790 | 1792 | function _try_multicall($msgs, $timeout, $method) |
| 1791 | 1793 | { |
@@ -2004,7 +2006,7 @@ discard block |
||
| 2004 | 2006 | |
| 2005 | 2007 | /** |
| 2006 | 2008 | * Returns the value received by the server. |
| 2007 | - * @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 |
|
| 2009 | + * @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 |
|
| 2008 | 2010 | * @access public |
| 2009 | 2011 | */ |
| 2010 | 2012 | function value() |
@@ -2090,7 +2092,7 @@ discard block |
||
| 2090 | 2092 | |
| 2091 | 2093 | /** |
| 2092 | 2094 | * @param string $meth the name of the method to invoke |
| 2093 | - * @param array $pars array of parameters to be paased to the method (xmlrpcval objects) |
|
| 2095 | + * @param integer $pars array of parameters to be paased to the method (xmlrpcval objects) |
|
| 2094 | 2096 | */ |
| 2095 | 2097 | function xmlrpcmsg($meth, $pars=0) |
| 2096 | 2098 | { |
@@ -2245,6 +2247,7 @@ discard block |
||
| 2245 | 2247 | /** |
| 2246 | 2248 | * Parses HTTP headers and separates them from data. |
| 2247 | 2249 | * @access private |
| 2250 | + * @param string $data |
|
| 2248 | 2251 | */ |
| 2249 | 2252 | function &parseResponseHeaders(&$data, $headers_processed=false) |
| 2250 | 2253 | { |
@@ -2712,7 +2715,7 @@ discard block |
||
| 2712 | 2715 | var $_php_class=null; |
| 2713 | 2716 | |
| 2714 | 2717 | /** |
| 2715 | - * @param mixed $val |
|
| 2718 | + * @param integer $val |
|
| 2716 | 2719 | * @param string $type any valid xmlrpc type name (lowercase). If null, 'string' is assumed |
| 2717 | 2720 | */ |
| 2718 | 2721 | function xmlrpcval($val=-1, $type='') |
@@ -3655,7 +3658,7 @@ discard block |
||
| 3655 | 3658 | * we SHOULD assume it is strictly US-ASCII. But we try to be more tolerant of unconforming (legacy?) clients/servers, |
| 3656 | 3659 | * which will be most probably using UTF-8 anyway... |
| 3657 | 3660 | * |
| 3658 | - * @param string $httpheaders the http Content-type header |
|
| 3661 | + * @param string $httpheader the http Content-type header |
|
| 3659 | 3662 | * @param string $xmlchunk xml content buffer |
| 3660 | 3663 | * @param string $encoding_prefs comma separated list of character encodings to be used as default (when mb extension is enabled) |
| 3661 | 3664 | * |
@@ -558,7 +558,7 @@ discard block |
||
| 558 | 558 | * |
| 559 | 559 | * @param xmlrpc_client $client an xmlrpc client set up correctly to communicate with target server |
| 560 | 560 | * @param string $methodname the xmlrpc method to be mapped to a php function |
| 561 | - * @param array $extra_options array of options that specify conversion details. valid ptions include |
|
| 561 | + * @param integer $extra_options array of options that specify conversion details. valid ptions include |
|
| 562 | 562 | * integer signum the index of the method signature to use in mapping (if method exposes many sigs) |
| 563 | 563 | * integer timeout timeout (in secs) to be used when executing function/calling remote method |
| 564 | 564 | * string protocol 'http' (default), 'http11' or 'https' |
@@ -826,6 +826,8 @@ discard block |
||
| 826 | 826 | * valid php code is emitted. |
| 827 | 827 | * Note: real spaghetti code follows... |
| 828 | 828 | * @access private |
| 829 | + * @param xmlrpc_client $client |
|
| 830 | + * @param string $methodname |
|
| 829 | 831 | */ |
| 830 | 832 | function build_remote_method_wrapper_code($client, $methodname, $xmlrpcfuncname, |
| 831 | 833 | $msig, $mdesc='', $timeout=0, $protocol='', $client_copy_mode=0, $prefix='xmlrpc', |
@@ -495,8 +495,8 @@ discard block |
||
| 495 | 495 | var $user_data = null; |
| 496 | 496 | |
| 497 | 497 | /** |
| 498 | - * @param array $dispmap the dispatch map withd efinition of exposed services |
|
| 499 | - * @param boolean $servicenow set to false to prevent the server from runnung upon construction |
|
| 498 | + * @param array $dispMap the dispatch map withd efinition of exposed services |
|
| 499 | + * @param boolean $serviceNow set to false to prevent the server from runnung upon construction |
|
| 500 | 500 | */ |
| 501 | 501 | function xmlrpc_server($dispMap=null, $serviceNow=true) |
| 502 | 502 | { |
@@ -785,7 +785,7 @@ discard block |
||
| 785 | 785 | |
| 786 | 786 | /** |
| 787 | 787 | * Parse http headers received along with xmlrpc request. If needed, inflate request |
| 788 | - * @return null on success or an xmlrpcresp |
|
| 788 | + * @return xmlrpcresp|null on success or an xmlrpcresp |
|
| 789 | 789 | * @access private |
| 790 | 790 | */ |
| 791 | 791 | function parseRequestHeaders(&$data, &$req_encoding, &$resp_encoding, &$resp_compression) |
@@ -1210,7 +1210,7 @@ discard block |
||
| 1210 | 1210 | |
| 1211 | 1211 | /** |
| 1212 | 1212 | * add a string to the 'internal debug message' (separate from 'user debug message') |
| 1213 | - * @param string $strings |
|
| 1213 | + * @param string $string |
|
| 1214 | 1214 | * @access private |
| 1215 | 1215 | */ |
| 1216 | 1216 | function debugmsg($string) |