|
|
|
@ -1509,7 +1509,7 @@ class HtmlBase
|
|
|
|
|
* Generates an appropriate input ID for the specified attribute name or expression. |
|
|
|
|
* |
|
|
|
|
* 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 string $attribute the attribute name or expression. See [[getAttributeName()]] for explanation of attribute expression. |
|
|
|
|
* @return string the generated input ID |
|
|
|
|