Method | Description | |
---|---|---|
attributeLabels ( ) : array | ||
hashPassword ( $password ) : string | Generates the password hash. | |
model ( string $className = __CLASS__ ) : AdminUser | Returns the static model of the specified AR class. | |
relations ( ) : array | ||
rules ( ) : array | ||
search ( ) : CActiveDataProvider | Retrieves a list of models based on the current search/filter conditions. | |
tableName ( ) : string | ||
validatePassword ( $password ) : boolean | Checks if the given password is correct. |
Method | Description | |
---|---|---|
generateSalt ( $cost = 10 ) : string | Generates a salt that can be used to generate a password hash. |
public attributeLabels ( ) : array | ||
return | array | customized attribute labels (name=>label) |
protected generateSalt ( $cost = 10 ) : string | ||
return | string | the salt |
public hashPassword ( $password ) : string | ||
return | string | hash |
public search ( ) : CActiveDataProvider | ||
return | CActiveDataProvider | the data provider that can return the models based on the search/filter conditions. |
public validatePassword ( $password ) : boolean | ||
return | boolean | whether the password is valid |