Browse Source

Update UniqueValidator.php

tags/2.0.0-rc
Chong Freeman 10 years ago
parent
commit
c6e8f66e1b
  1. 2
      framework/validators/UniqueValidator.php

2
framework/validators/UniqueValidator.php

@ -38,7 +38,7 @@ class UniqueValidator extends Validator
{
/**
* @var string the name of the ActiveRecord class that should be used to validate the uniqueness
* of the current attribute value. It not set, it will use the ActiveRecord class of the attribute being validated.
* of the current attribute value. If not set, it will use the ActiveRecord class of the attribute being validated.
* @see targetAttribute
*/
public $targetClass;

Loading…
Cancel
Save