PHP Интерфейс Xpressengine\User\UserInterface

Автор: XE Developers ([email protected])
Наследование: extends Xpressengine\User\Authenticatable, extends Illuminate\Contracts\Auth\CanResetPassword
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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

Описание методов

getAccountByProvider() публичный Метод

회원이 소유한 계정 중에 주어진 provider를 가진 계정을 반환한다.
public getAccountByProvider ( string $provider ) : Xpressengine\User\AccountInterface
$provider string provider
Результат Xpressengine\User\AccountInterface

getDisplayName() публичный Метод

Get the name for display
public getDisplayName ( ) : string
Результат string

getGroups() публичный Метод

Get groups a user belongs
public getGroups ( ) : array
Результат array

getId() публичный Метод

Get the unique identifier
public getId ( ) : string
Результат string

getPendingEmail() публичный Метод

Get Pending Email of current user
public getPendingEmail ( ) : Xpressengine\User\EmailInterface
Результат Xpressengine\User\EmailInterface

getProfileImage() публичный Метод

Get profile image URL of user
public getProfileImage ( ) : string
Результат string

getRating() публичный Метод

Get the rating of user
public getRating ( ) : string
Результат string

getStatus() публичный Метод

Get the status of user
public getStatus ( ) : string
Результат string

isAdmin() публичный Метод

Finds whether user has super rating.
public isAdmin ( ) : boolean
Результат boolean

isManager() публичный Метод

Finds whether user has manager or super rating.
public isManager ( ) : boolean
Результат boolean

joinGroups() публичный Метод

add this user to groups
public joinGroups ( mixed $groups ) : static
$groups mixed groups
Результат static

leaveGroups() публичный Метод

leave groups
public leaveGroups ( array $groups ) : static
$groups array group names
Результат static