PHP 인터페이스 Xpressengine\User\UserInterface

저자: XE Developers ([email protected])
상속: extends Xpressengine\User\Authenticatable, extends Illuminate\Contracts\Auth\CanResetPassword
파일 보기 프로젝트 열기: xpressengine/xpressengine 0 사용 예제들

공개 메소드들

메소드 설명
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