PHP Class common\models\Member

Inheritance: extends yii\db\ActiveRecord
Afficher le fichier Open project: daixianceng/xiaoego.com Class Usage Examples

Méthodes publiques

Свойство Type Description
$password

Méthodes publiques

Méthode Description
attributeLabels ( )
behaviors ( )
findByUsername ( string $username ) : static | null Finds user by username
findIdentity ( $id )
findIdentityByAccessToken ( $token, $type = null )
generateAuthKey ( ) Generates "remember me" authentication key
getAuthKey ( )
getGenderList ( )
getGenderMsg ( )
getId ( )
getStatusList ( )
getStatusMsg ( )
getStore ( ) : ActiveQuery
rules ( )
setPassword ( string $password ) Generates password hash from password and sets it to the model
tableName ( )
validateAuthKey ( $authKey )
validatePassword ( string $password ) : boolean Validates password

Method Details

attributeLabels() public méthode

public attributeLabels ( )

behaviors() public méthode

public behaviors ( )

findByUsername() public static méthode

Finds user by username
public static findByUsername ( string $username ) : static | null
$username string
Résultat static | null

findIdentity() public static méthode

public static findIdentity ( $id )

findIdentityByAccessToken() public static méthode

public static findIdentityByAccessToken ( $token, $type = null )

generateAuthKey() public méthode

Generates "remember me" authentication key
public generateAuthKey ( )

getAuthKey() public méthode

public getAuthKey ( )

getGenderList() public static méthode

public static getGenderList ( )

getGenderMsg() public méthode

public getGenderMsg ( )

getId() public méthode

public getId ( )

getStatusList() public static méthode

public static getStatusList ( )

getStatusMsg() public méthode

public getStatusMsg ( )

getStore() public méthode

public getStore ( ) : ActiveQuery
Résultat yii\db\ActiveQuery

rules() public méthode

public rules ( )

setPassword() public méthode

Generates password hash from password and sets it to the model
public setPassword ( string $password )
$password string

tableName() public static méthode

public static tableName ( )

validateAuthKey() public méthode

public validateAuthKey ( $authKey )

validatePassword() public méthode

Validates password
public validatePassword ( string $password ) : boolean
$password string password to validate
Résultat boolean if password provided is valid for current user

Property Details

$password public_oe property

public $password