Index: trunk/phase3/includes/Xml.php |
— | — | @@ -102,7 +102,7 @@ |
103 | 103 | * |
104 | 104 | * @param $element String element name |
105 | 105 | * @param $attribs array of attributes |
106 | | - * @param $contents content of the element |
| 106 | + * @param $contents String content of the element |
107 | 107 | * @return string |
108 | 108 | */ |
109 | 109 | public static function tags( $element, $attribs = null, $contents ) { |
— | — | @@ -248,8 +248,8 @@ |
249 | 249 | |
250 | 250 | /** |
251 | 251 | * Shortcut to make a span element |
252 | | - * @param $text content of the element, will be escaped |
253 | | - * @param $class class name of the span element |
| 252 | + * @param $text String content of the element, will be escaped |
| 253 | + * @param $class String class name of the span element |
254 | 254 | * @param $attribs other attributes |
255 | 255 | * @return string |
256 | 256 | */ |
— | — | @@ -271,7 +271,7 @@ |
272 | 272 | |
273 | 273 | /** |
274 | 274 | * Convenience function to build an HTML text input field |
275 | | - * @param $name value of the name attribute |
| 275 | + * @param $name String value of the name attribute |
276 | 276 | * @param $size value of the size attribute |
277 | 277 | * @param $value value of the value attribute |
278 | 278 | * @param $attribs other attributes |
— | — | @@ -313,9 +313,9 @@ |
314 | 314 | |
315 | 315 | /** |
316 | 316 | * Convenience function to build an HTML checkbox |
317 | | - * @param $name value of the name attribute |
318 | | - * @param $checked Whether the checkbox is checked or not |
319 | | - * @param $attribs other attributes |
| 317 | + * @param $name String value of the name attribute |
| 318 | + * @param $checked Bool Whether the checkbox is checked or not |
| 319 | + * @param $attribs Array other attributes |
320 | 320 | * @return string HTML |
321 | 321 | */ |
322 | 322 | public static function check( $name, $checked=false, $attribs=array() ) { |
— | — | @@ -673,8 +673,8 @@ |
674 | 674 | /** |
675 | 675 | * Generate a form (without the opening form element). |
676 | 676 | * Output optionally includes a submit button. |
677 | | - * @param $fields Associative array, key is message corresponding to a description for the field (colon is in the message), value is appropriate input. |
678 | | - * @param $submitLabel A message containing a label for the submit button. |
| 677 | + * @param $fields Array Associative array, key is message corresponding to a description for the field (colon is in the message), value is appropriate input. |
| 678 | + * @param $submitLabel String A message containing a label for the submit button. |
679 | 679 | * @return string HTML form. |
680 | 680 | */ |
681 | 681 | public static function buildForm( $fields, $submitLabel = null ) { |
Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -2454,7 +2454,7 @@ |
2455 | 2455 | /** |
2456 | 2456 | * Execute a shell command, with time and memory limits mirrored from the PHP |
2457 | 2457 | * configuration if supported. |
2458 | | - * @param $cmd Command line, properly escaped for shell. |
| 2458 | + * @param $cmd String Command line, properly escaped for shell. |
2459 | 2459 | * @param &$retval optional, will receive the program's exit code. |
2460 | 2460 | * (non-zero is usually failure) |
2461 | 2461 | * @param $environ Array optional environment variables which should be |