UsernameLengthValidator Class Reference

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:
 All Data Structures Functions Variables
Generated on Wed Jun 28 07:10:31 2017