From: Happy-melon Date: Sat, 6 Nov 2010 15:14:04 +0000 (+0000) Subject: Clarify doc, per r63675 CR. X-Git-Tag: 1.31.0-rc.0~34043 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=1ca41c10cd11c28697190c7c4720ba210d67185c;p=lhc%2Fweb%2Fwiklou.git Clarify doc, per r63675 CR. --- diff --git a/includes/Xml.php b/includes/Xml.php index 8b5671cd99..65f20109a1 100644 --- a/includes/Xml.php +++ b/includes/Xml.php @@ -347,7 +347,10 @@ class Xml { * Convenience function to build an HTML form label * @param $label String text of the label * @param $id - * @param $attribs Array, other attributes + * @param $attribs Array an attribute array. This will usuall be + * the same array as is passed to the corresponding input element, + * so this function will cherry-pick appropriate attributes to + * apply to the label as well; currently only class is applied. * @return string HTML */ public static function label( $label, $id, $attribs=array() ) {