yiisoft/yii — pull request #895 by slavcodev (2013-01-11 14:39:34+00:00)
Title: CInlineValidator::clientValidateAttribute($object,$attribute)

Hi.

Propose ti change method to

```php
public function clientValidateAttribute($object,$attribute)
{
if($this->clientValidate!==null)
{
$method=$this->clientValidate;
return $object->$method($attribute, $this);
// or return $object->$method($attribute, $this->params);
}
}
```

it would help to write more convenient js-validators, using additional parameters, such as $ params ['message']