PHP Class bubasuma\simplechat\models\User

Since: 1.0
Author: Buba Suma ([email protected])
Inheritance: extends yii\db\ActiveRecord, implements yii\web\IdentityInterface
Datei anzeigen Open project: bubasuma/yii2-simplechat Class Usage Examples

Public Methods

Method Description
beforeSave ( $insert )
fields ( )
findIdentity ( $id ) : static
findIdentityByAccessToken ( $token, $type = null )
getAll ( ) : static[]
getAuthKey ( )
getAvatar ( ) : string
getId ( )
getName ( ) : string
getProfile ( ) : UserProfile
rules ( )
setName ( string $name )
tableName ( )
validateAuthKey ( $authKey )

Method Details

beforeSave() public method

public beforeSave ( $insert )

fields() public method

public fields ( )

findIdentity() public static method

public static findIdentity ( $id ) : static
return static

findIdentityByAccessToken() public static method

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

getAll() public static method

public static getAll ( ) : static[]
return static[]

getAuthKey() public method

public getAuthKey ( )

getAvatar() public method

public getAvatar ( ) : string
return string

getId() public method

public getId ( )

getName() public method

public getName ( ) : string
return string

getProfile() public method

public getProfile ( ) : UserProfile
return UserProfile

rules() public method

public rules ( )

setName() public method

public setName ( string $name )
$name string

tableName() public static method

public static tableName ( )

validateAuthKey() public method

public validateAuthKey ( $authKey )