Commit 68001943 by Qiang Xue

Merge pull request #4603 from Skysplit/patch-1

Update docs for clientValidateAttribute()
parents 0cfaa17b 24d03149
...@@ -308,6 +308,7 @@ class Validator extends Component ...@@ -308,6 +308,7 @@ class Validator extends Component
* - `attribute`: the name of the attribute being validated. * - `attribute`: the name of the attribute being validated.
* - `value`: the value being validated. * - `value`: the value being validated.
* - `messages`: an array used to hold the validation error messages for the attribute. * - `messages`: an array used to hold the validation error messages for the attribute.
* - `deferred`: an array used to hold deferred objects for asynchronous validation
* *
* @param \yii\base\Model $object the data object being validated * @param \yii\base\Model $object the data object being validated
* @param string $attribute the name of the attribute to be validated. * @param string $attribute the name of the attribute to be validated.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment