validators\UniqueValidator $targetClass

$targetClass public property

The name of the ActiveRecord class that should be used to validate the uniqueness of the current attribute value. If not set, it will use the ActiveRecord class of the attribute being validated.

See also $targetAttribute.

public string $targetClass = null
doc_Yii
2016-10-30 17:14:10
Comments
Leave a Comment

Please login to continue.