Browse Source

Fixes #659.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
f7257e53f0
  1. 2
      framework/yii/helpers/HtmlBase.php

2
framework/yii/helpers/HtmlBase.php

@ -1509,7 +1509,7 @@ class HtmlBase
* Generates an appropriate input ID for the specified attribute name or expression. * Generates an appropriate input ID for the specified attribute name or expression.
* *
* This method converts the result [[getInputName()]] into a valid input ID. * This method converts the result [[getInputName()]] into a valid input ID.
* For example, [[getInputName()]] returns `Post[content]`, this method will return `Post-method`. * For example, if [[getInputName()]] returns `Post[content]`, this method will return `post-content`.
* @param Model $model the model object * @param Model $model the model object
* @param string $attribute the attribute name or expression. See [[getAttributeName()]] for explanation of attribute expression. * @param string $attribute the attribute name or expression. See [[getAttributeName()]] for explanation of attribute expression.
* @return string the generated input ID * @return string the generated input ID

Loading…
Cancel
Save