PHP Interface Xpressengine\User\UserInterface

Author: XE Developers ([email protected])
Inheritance: extends Xpressengine\User\Authenticatable, extends Illuminate\Contracts\Auth\CanResetPassword
Afficher le fichier Open project: xpressengine/xpressengine Interface Usage Examples

Méthodes publiques

Méthode Description
getAccountByProvider ( string $provider ) : Xpressengine\User\AccountInterface 회원이 소유한 계정 중에 주어진 provider를 가진 계정을 반환한다.
getDisplayName ( ) : string Get the name for display
getGroups ( ) : array Get groups a user belongs
getId ( ) : string Get the unique identifier
getPendingEmail ( ) : Xpressengine\User\EmailInterface Get Pending Email of current user
getProfileImage ( ) : string Get profile image URL of user
getRating ( ) : string Get the rating of user
getStatus ( ) : string Get the status of user
isAdmin ( ) : boolean Finds whether user has super rating.
isManager ( ) : boolean Finds whether user has manager or super rating.
joinGroups ( mixed $groups ) : static add this user to groups
leaveGroups ( array $groups ) : static leave groups

Method Details

getAccountByProvider() public méthode

회원이 소유한 계정 중에 주어진 provider를 가진 계정을 반환한다.
public getAccountByProvider ( string $provider ) : Xpressengine\User\AccountInterface
$provider string provider
Résultat Xpressengine\User\AccountInterface

getDisplayName() public méthode

Get the name for display
public getDisplayName ( ) : string
Résultat string

getGroups() public méthode

Get groups a user belongs
public getGroups ( ) : array
Résultat array

getId() public méthode

Get the unique identifier
public getId ( ) : string
Résultat string

getPendingEmail() public méthode

Get Pending Email of current user
public getPendingEmail ( ) : Xpressengine\User\EmailInterface
Résultat Xpressengine\User\EmailInterface

getProfileImage() public méthode

Get profile image URL of user
public getProfileImage ( ) : string
Résultat string

getRating() public méthode

Get the rating of user
public getRating ( ) : string
Résultat string

getStatus() public méthode

Get the status of user
public getStatus ( ) : string
Résultat string

isAdmin() public méthode

Finds whether user has super rating.
public isAdmin ( ) : boolean
Résultat boolean

isManager() public méthode

Finds whether user has manager or super rating.
public isManager ( ) : boolean
Résultat boolean

joinGroups() public méthode

add this user to groups
public joinGroups ( mixed $groups ) : static
$groups mixed groups
Résultat static

leaveGroups() public méthode

leave groups
public leaveGroups ( array $groups ) : static
$groups array group names
Résultat static