All Data Structures Functions Variables Pages
Protected Member Functions
UsernameLengthValidator Class Reference
Inheritance diagram for UsernameLengthValidator:

Protected Member Functions

 validateAttribute ($model, $attributeName)
 

Detailed Description

This validator can be used by both a User model as well as a CFormModel like in User import for example. This validator assumes that if the model is not a User model, then the respected minimum length should be based on the Everyone group policy. See the yii documentation.

Definition at line 43 of file UsernameLengthValidator.php.

Member Function Documentation

validateAttribute (   $model,
  $attributeName 
)
protected

See the yii documentation.

Definition at line 48 of file UsernameLengthValidator.php.


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 2020 07:10:51