PHP Class bubasuma\simplechat\models\User

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

Méthodes publiques

Méthode 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 méthode

public beforeSave ( $insert )

fields() public méthode

public fields ( )

findIdentity() public static méthode

public static findIdentity ( $id ) : static
Résultat static

findIdentityByAccessToken() public static méthode

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

getAll() public static méthode

public static getAll ( ) : static[]
Résultat static[]

getAuthKey() public méthode

public getAuthKey ( )

getAvatar() public méthode

public getAvatar ( ) : string
Résultat string

getId() public méthode

public getId ( )

getName() public méthode

public getName ( ) : string
Résultat string

getProfile() public méthode

public getProfile ( ) : UserProfile
Résultat UserProfile

rules() public méthode

public rules ( )

setName() public méthode

public setName ( string $name )
$name string

tableName() public static méthode

public static tableName ( )

validateAuthKey() public méthode

public validateAuthKey ( $authKey )