Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Flarum
Core
User
groups
Flarum\Core\User::groups PHP Méthode
User Class Documentation
Afficher le fichier
Open project: flarum/core
groups()
public
méthode
Define the relationship with the user's groups.
public
groups
( ) :
Illuminate\Database\Eloquent\Relations\BelongsToMany
Résultat
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