PHP 클래스 common\models\Member

상속: extends yii\db\ActiveRecord
파일 보기 프로젝트 열기: daixianceng/xiaoego.com 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$password

공개 메소드들

메소드 설명
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

메소드 상세

attributeLabels() 공개 메소드

public attributeLabels ( )

behaviors() 공개 메소드

public behaviors ( )

findByUsername() 공개 정적인 메소드

Finds user by username
public static findByUsername ( string $username ) : static | null
$username string
리턴 static | null

findIdentity() 공개 정적인 메소드

public static findIdentity ( $id )

findIdentityByAccessToken() 공개 정적인 메소드

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

generateAuthKey() 공개 메소드

Generates "remember me" authentication key
public generateAuthKey ( )

getAuthKey() 공개 메소드

public getAuthKey ( )

getGenderList() 공개 정적인 메소드

public static getGenderList ( )

getGenderMsg() 공개 메소드

public getGenderMsg ( )

getId() 공개 메소드

public getId ( )

getStatusList() 공개 정적인 메소드

public static getStatusList ( )

getStatusMsg() 공개 메소드

public getStatusMsg ( )

getStore() 공개 메소드

public getStore ( ) : ActiveQuery
리턴 yii\db\ActiveQuery

rules() 공개 메소드

public rules ( )

setPassword() 공개 메소드

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

tableName() 공개 정적인 메소드

public static tableName ( )

validateAuthKey() 공개 메소드

public validateAuthKey ( $authKey )

validatePassword() 공개 메소드

Validates password
public validatePassword ( string $password ) : boolean
$password string password to validate
리턴 boolean if password provided is valid for current user

프로퍼티 상세

$password 공개적으로 프로퍼티

public $password