메소드 |
설명 |
|
attributeLabels ( ) |
|
|
beforeSave ( $insert ) |
|
|
behaviors ( ) |
|
|
can ( string $permissionName, array $params = [], boolean $allowCaching = true ) : boolean |
Check if user can do specified $permission |
|
checkEmailChange ( ) : string | boolean |
Check for email change |
|
confirm ( string $newEmail ) : boolean |
Confirm user email |
|
findIdentity ( $id ) |
|
|
findIdentityByAccessToken ( $token, $type = null ) |
|
|
getAuthKey ( ) |
|
|
getDisplayName ( ) : string | integer |
Get display name for the user |
|
getId ( ) |
|
|
getProfile ( ) : ActiveQuery |
|
|
getRole ( ) : ActiveQuery |
|
|
getUserAuths ( ) : ActiveQuery |
|
|
getUserTokens ( ) : ActiveQuery |
|
|
init ( ) |
|
|
rules ( ) |
|
|
sendEmailConfirmation ( amnah\yii2\user\models\UserToken $userToken ) : integer |
Send email confirmation to user |
|
setRegisterAttributes ( integer $roleId, string $status = null ) : static |
Set attributes for registration |
|
statusDropdown ( ) : array |
Get list of statuses for creating dropdowns |
|
updateLoginMeta ( ) : boolean |
Update login info (ip and time) |
|
validateAuthKey ( $authKey ) |
|
|
validateCurrentPassword ( ) |
Validate current password (account page) |
|
validatePassword ( string $password ) : boolean |
Validate password |
|