Метод | Описание | |
---|---|---|
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. |
Метод | Описание | |
---|---|---|
generateSalt ( $cost = 10 ) : string | Generates a salt that can be used to generate a password hash. |
public attributeLabels ( ) : array | ||
Результат | array | customized attribute labels (name=>label) |
protected generateSalt ( $cost = 10 ) : string | ||
Результат | string | the salt |
public hashPassword ( $password ) : string | ||
Результат | string | hash |
public search ( ) : CActiveDataProvider | ||
Результат | CActiveDataProvider | the data provider that can return the models based on the search/filter conditions. |
public validatePassword ( $password ) : boolean | ||
Результат | boolean | whether the password is valid |