Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Flarum
Core
User
groups
Flarum\Core\User::groups PHP 메소드
User 1 문서
파일 보기
프로젝트 열기: flarum/core
groups()
공개
메소드
Define the relationship with the user's groups.
public
groups
( ) :
Illuminate\Database\Eloquent\Relations\BelongsToMany
리턴
Illuminate\Database\Eloquent\Relations\BelongsToMany
public function groups() { return $this->belongsToMany('Flarum\\Core\\Group', 'users_groups'); }
User
accessTokens
activate
addPreference
boot
can
cannot
changeAvatarPath
changeBio
changeEmail
changePassword
checkPassword
getAlertableNotificationTypes
getAvatarUrlAttribute
getGate
getLocaleAttribute
getNewNotificationsCount
getNotificationPreferenceKey
getPermissions
getPreference
getPreferencesAttribute
getSession
getUnreadNotifications
getUnreadNotificationsCount
groups
hasPermission
hasPermissionLike
isAdmin
isGuest
markAllAsRead
markNotificationsAsRead
notifications
permissions
posts
read
register
rename
requestEmailChange
setGate
setHasher
setPasswordAttribute
setPreference
setPreferencesAttribute
setSession
shouldAlert
shouldEmail
updateLastSeen