Index: trunk/phase3/includes/Xml.php |
— | — | @@ -81,7 +81,7 @@ |
82 | 82 | /** |
83 | 83 | * This opens an XML element |
84 | 84 | * |
85 | | - * @param $element name of the element |
| 85 | + * @param $element String name of the element |
86 | 86 | * @param $attribs array of attributes, see Xml::expandAttributes() |
87 | 87 | * @return string |
88 | 88 | */ |
— | — | @@ -91,7 +91,7 @@ |
92 | 92 | |
93 | 93 | /** |
94 | 94 | * Shortcut to close an XML element |
95 | | - * @param $element element name |
| 95 | + * @param $element String element name |
96 | 96 | * @return string |
97 | 97 | */ |
98 | 98 | public static function closeElement( $element ) { return "</$element>"; } |
— | — | @@ -100,7 +100,7 @@ |
101 | 101 | * Same as Xml::element(), but does not escape contents. Handy when the |
102 | 102 | * content you have is already valid xml. |
103 | 103 | * |
104 | | - * @param $element element name |
| 104 | + * @param $element String element name |
105 | 105 | * @param $attribs array of attributes |
106 | 106 | * @param $contents content of the element |
107 | 107 | * @return string |
— | — | @@ -345,7 +345,7 @@ |
346 | 346 | |
347 | 347 | /** |
348 | 348 | * Convenience function to build an HTML form label |
349 | | - * @param $label text of the label |
| 349 | + * @param $label String text of the label |
350 | 350 | * @param $id |
351 | 351 | * @param $attribs Array, other attributes |
352 | 352 | * @return string HTML |
— | — | @@ -360,9 +360,9 @@ |
361 | 361 | |
362 | 362 | /** |
363 | 363 | * Convenience function to build an HTML text input field with a label |
364 | | - * @param $label text of the label |
365 | | - * @param $name value of the name attribute |
366 | | - * @param $id id of the input |
| 364 | + * @param $label String text of the label |
| 365 | + * @param $name String value of the name attribute |
| 366 | + * @param $id String id of the input |
367 | 367 | * @param $size value of the size attribute |
368 | 368 | * @param $value value of the value attribute |
369 | 369 | * @param $attribs other attributes |