@@ -272,6 +272,7 @@ |
||
272 | 272 | |
273 | 273 | /** |
274 | 274 | * |
275 | + * @param string $module |
|
275 | 276 | * @return SearchForm |
276 | 277 | */ |
277 | 278 | protected function getSearchForm2($seed, $module, $action = "index") |
@@ -47,6 +47,9 @@ discard block |
||
47 | 47 | |
48 | 48 | |
49 | 49 | |
50 | + /** |
|
51 | + * @param string $name |
|
52 | + */ |
|
50 | 53 | function displayCheckBoxes($name,$values, $selected =array(), $attr=''){ |
51 | 54 | echo "<div $attr style='overflow:auto;float:left;width:200px;height:200px' >"; |
52 | 55 | foreach($values as $value){ |
@@ -56,6 +59,10 @@ discard block |
||
56 | 59 | echo "</div>"; |
57 | 60 | } |
58 | 61 | |
62 | + /** |
|
63 | + * @param string $name |
|
64 | + * @param string[] $values |
|
65 | + */ |
|
59 | 66 | function displaySelect($name,$values, $selected ='', $attr=''){ |
60 | 67 | echo "<select name='$name' $attr>"; |
61 | 68 | foreach($values as $value){ |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | /** |
357 | 357 | * gets the current debug data for this instance |
358 | 358 | * |
359 | - * @return debug data |
|
359 | + * @return string data |
|
360 | 360 | * @access public |
361 | 361 | */ |
362 | 362 | function &getDebug() { |
@@ -369,7 +369,7 @@ discard block |
||
369 | 369 | * gets the current debug data for this instance as an XML comment |
370 | 370 | * this may change the contents of the debug data |
371 | 371 | * |
372 | - * @return debug data as an XML comment |
|
372 | + * @return string data as an XML comment |
|
373 | 373 | * @access public |
374 | 374 | */ |
375 | 375 | function &getDebugAsXMLComment() { |
@@ -402,7 +402,7 @@ discard block |
||
402 | 402 | /** |
403 | 403 | * returns error string if present |
404 | 404 | * |
405 | - * @return mixed error string or false |
|
405 | + * @return string|false error string or false |
|
406 | 406 | * @access public |
407 | 407 | */ |
408 | 408 | function getError(){ |
@@ -415,7 +415,7 @@ discard block |
||
415 | 415 | /** |
416 | 416 | * sets error string |
417 | 417 | * |
418 | - * @return boolean $string error string |
|
418 | + * @return boolean|null $string error string |
|
419 | 419 | * @access private |
420 | 420 | */ |
421 | 421 | function setError($str){ |
@@ -851,7 +851,7 @@ discard block |
||
851 | 851 | * returns false, if not prefixed |
852 | 852 | * |
853 | 853 | * @param string $str The prefixed string |
854 | - * @return mixed The prefix or false if there is no prefix |
|
854 | + * @return string|false The prefix or false if there is no prefix |
|
855 | 855 | * @access public |
856 | 856 | */ |
857 | 857 | function getPrefix($str){ |
@@ -882,7 +882,7 @@ discard block |
||
882 | 882 | * or false if no prefixes registered for the given namespace |
883 | 883 | * |
884 | 884 | * @param string $ns The namespace |
885 | - * @return mixed The prefix, false if the namespace has no prefixes |
|
885 | + * @return string The prefix, false if the namespace has no prefixes |
|
886 | 886 | * @access public |
887 | 887 | */ |
888 | 888 | function getPrefixFromNamespace($ns) { |
@@ -948,7 +948,7 @@ discard block |
||
948 | 948 | * |
949 | 949 | * @param int $timestamp Unix time stamp |
950 | 950 | * @param boolean $utc Whether the time stamp is UTC or local |
951 | -* @return mixed ISO 8601 date string or false |
|
951 | +* @return string|false ISO 8601 date string or false |
|
952 | 952 | * @access public |
953 | 953 | */ |
954 | 954 | function timestamp_to_iso8601($timestamp,$utc=true){ |
@@ -84,7 +84,7 @@ |
||
84 | 84 | * @param string $faultcode (SOAP-ENV:Client | SOAP-ENV:Server) |
85 | 85 | * @param string $faultactor only used when msg routed between multiple actors |
86 | 86 | * @param string $faultstring human readable error message |
87 | - * @param mixed $faultdetail detail, typically a string or array of string |
|
87 | + * @param string $faultdetail detail, typically a string or array of string |
|
88 | 88 | */ |
89 | 89 | function nusoap_fault($faultcode,$faultactor='',$faultstring='',$faultdetail=''){ |
90 | 90 | parent::nusoap_base(); |
@@ -892,7 +892,7 @@ discard block |
||
892 | 892 | * |
893 | 893 | * @param array $headers The HTTP headers |
894 | 894 | * @param string $data unprocessed request data from client |
895 | - * @return mixed value of the message, decoded into a PHP type |
|
895 | + * @return false|null value of the message, decoded into a PHP type |
|
896 | 896 | * @access private |
897 | 897 | */ |
898 | 898 | function parseRequest($headers, $data) { |
@@ -999,7 +999,7 @@ discard block |
||
999 | 999 | * @param string $name the name of the PHP function, class.method or class..method |
1000 | 1000 | * @param array $in assoc array of input values: key = param name, value = param type |
1001 | 1001 | * @param array $out assoc array of output values: key = param name, value = param type |
1002 | - * @param mixed $namespace the element namespace for the method or false |
|
1002 | + * @param string $namespace the element namespace for the method or false |
|
1003 | 1003 | * @param mixed $soapaction the soapaction for the method or false |
1004 | 1004 | * @param mixed $style optional (rpc|document) or false Note: when 'document' is specified, parameter and return wrappers are created for you automatically |
1005 | 1005 | * @param mixed $use optional (encoded|literal) or false |
@@ -1089,11 +1089,12 @@ discard block |
||
1089 | 1089 | * Acts as a flag to enable internal WSDL generation |
1090 | 1090 | * |
1091 | 1091 | * @param string $serviceName, name of the service |
1092 | - * @param mixed $namespace optional 'tns' service namespace or false |
|
1093 | - * @param mixed $endpoint optional URL of service endpoint or false |
|
1092 | + * @param string $namespace optional 'tns' service namespace or false |
|
1093 | + * @param string $endpoint optional URL of service endpoint or false |
|
1094 | 1094 | * @param string $style optional (rpc|document) WSDL style (also specified by operation) |
1095 | 1095 | * @param string $transport optional SOAP transport |
1096 | 1096 | * @param mixed $schemaTargetNamespace optional 'types' targetNamespace for service schema or false |
1097 | + * @param string $serviceName |
|
1097 | 1098 | */ |
1098 | 1099 | function configureWSDL($serviceName,$namespace = false,$endpoint = false,$style='rpc', $transport = 'http://schemas.xmlsoap.org/soap/http', $schemaTargetNamespace = false) |
1099 | 1100 | { |
@@ -221,10 +221,6 @@ discard block |
||
221 | 221 | /** |
222 | 222 | * establish an HTTP connection |
223 | 223 | * |
224 | - * @param integer $timeout set connection timeout in seconds |
|
225 | - * @param integer $response_timeout set response timeout in seconds |
|
226 | - * @return boolean true if connected, false if not |
|
227 | - * @access private |
|
228 | 224 | */ |
229 | 225 | function connect($connection_timeout=0,$response_timeout=30){ |
230 | 226 | // For PHP 4.3 with OpenSSL, change https scheme to ssl, then treat like |
@@ -783,7 +779,7 @@ discard block |
||
783 | 779 | * |
784 | 780 | * @param string $data message data |
785 | 781 | * @param array $cookies cookies to send |
786 | - * @return boolean true if OK, false if problem |
|
782 | + * @return boolean|null true if OK, false if problem |
|
787 | 783 | * @access private |
788 | 784 | */ |
789 | 785 | function sendRequest($data, $cookies = NULL) { |
@@ -1218,7 +1214,7 @@ discard block |
||
1218 | 1214 | * sets the content-type for the SOAP message to be sent |
1219 | 1215 | * |
1220 | 1216 | * @param string $type the content type, MIME style |
1221 | - * @param mixed $charset character set used for encoding (or false) |
|
1217 | + * @param string $charset character set used for encoding (or false) |
|
1222 | 1218 | * @access public |
1223 | 1219 | */ |
1224 | 1220 | function setContentType($type, $charset = false) { |
@@ -1251,6 +1247,10 @@ discard block |
||
1251 | 1247 | /* |
1252 | 1248 | * TODO: allow a Set-Cookie string to be parsed into multiple cookies |
1253 | 1249 | */ |
1250 | + |
|
1251 | + /** |
|
1252 | + * @param string $cookie_str |
|
1253 | + */ |
|
1254 | 1254 | function parseCookie($cookie_str) { |
1255 | 1255 | $cookie_str = str_replace('; ', ';', $cookie_str) . ';'; |
1256 | 1256 | $data = preg_split('/;/', $cookie_str); |
@@ -104,7 +104,7 @@ |
||
104 | 104 | * |
105 | 105 | * @param string $name optional name |
106 | 106 | * @param mixed $type optional type name |
107 | - * @param mixed $value optional value |
|
107 | + * @param integer $value optional value |
|
108 | 108 | * @param mixed $element_ns optional namespace of value |
109 | 109 | * @param mixed $type_ns optional namespace of type |
110 | 110 | * @param mixed $attributes associative array of attributes to add to element serialization |
@@ -892,6 +892,7 @@ |
||
892 | 892 | /** |
893 | 893 | * dynamically creates proxy class code |
894 | 894 | * |
895 | + * @param integer $r |
|
895 | 896 | * @return string PHP/NuSOAP code for the proxy class |
896 | 897 | * @access private |
897 | 898 | */ |
@@ -928,7 +928,7 @@ discard block |
||
928 | 928 | /** |
929 | 929 | * serialize the parsed wsdl |
930 | 930 | * |
931 | - * @param mixed $debug whether to put debug=1 in endpoint URL |
|
931 | + * @param integer $debug whether to put debug=1 in endpoint URL |
|
932 | 932 | * @return string serialization of WSDL |
933 | 933 | * @access public |
934 | 934 | */ |
@@ -1151,7 +1151,7 @@ discard block |
||
1151 | 1151 | * @param string $direction (input|output) |
1152 | 1152 | * @param mixed $parameters parameter value(s) |
1153 | 1153 | * @param string $bindingType (soap|soap12) |
1154 | - * @return mixed parameters serialized as XML or false on error (e.g. operation not found) |
|
1154 | + * @return false|string parameters serialized as XML or false on error (e.g. operation not found) |
|
1155 | 1155 | * @access public |
1156 | 1156 | */ |
1157 | 1157 | function serializeRPCParameters($operation, $direction, $parameters, $bindingType = 'soap') { |
@@ -1251,7 +1251,7 @@ discard block |
||
1251 | 1251 | * @param string $operation operation name |
1252 | 1252 | * @param string $direction (input|output) |
1253 | 1253 | * @param mixed $parameters parameter value(s) |
1254 | - * @return mixed parameters serialized as XML or false on error (e.g. operation not found) |
|
1254 | + * @return false|string parameters serialized as XML or false on error (e.g. operation not found) |
|
1255 | 1255 | * @access public |
1256 | 1256 | * @deprecated |
1257 | 1257 | */ |