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
getUnreadNotificationsCount
Flarum\Core\User::getUnreadNotificationsCount PHP Метод
Документация по классу User
Показать файл
Открыть проект
getUnreadNotificationsCount()
публичный
Метод
Get the number of unread notifications for the user.
public
getUnreadNotificationsCount
( ) :
integer
Результат
integer
public function getUnreadNotificationsCount() { return $this->getUnreadNotifications()->count(); }
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