Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Flarum
Core
User
notifications
Flarum\Core\User::notifications PHP Метод
Документация по классу User
Показать файл
Открыть проект
notifications()
публичный
Метод
Define the relationship with the user's notifications.
public
notifications
( ) :
Illuminate\Database\Eloquent\Relations\HasMany
Результат
Illuminate\Database\Eloquent\Relations\HasMany
public function notifications() { return $this->hasMany('Flarum\\Core\\Notification'); }
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