Index: trunk/phase3/includes/Xml.php |
— | — | @@ -398,17 +398,10 @@ |
399 | 399 | } |
400 | 400 | |
401 | 401 | /** |
402 | | - * Convenience function to build an HTML hidden form field. |
403 | | - * @param $name String: name attribute for the field |
404 | | - * @param $value String: value for the hidden field |
405 | | - * @param $attribs Array: optional custom attributes |
406 | | - * @return string HTML |
| 402 | + * @deprecated Synonymous to Html::hidden() |
407 | 403 | */ |
408 | | - public static function hidden( $name, $value, $attribs=array() ) { |
409 | | - return self::element( 'input', array( |
410 | | - 'name' => $name, |
411 | | - 'type' => 'hidden', |
412 | | - 'value' => $value ) + $attribs ); |
| 404 | + public static function hidden( $name, $value, $attribs = array() ) { |
| 405 | + return Html::hidden( $name, $value, $attribs ); |
413 | 406 | } |
414 | 407 | |
415 | 408 | /** |