File: bp-core/classes/class-bp-core-notification.php
Description
BP_Core_Notification

BP_Core_Notification is deprecated.

Source: bp-core/classes/class-bp-core-notification.php:19

BP_Core_Notification::__construct()

Constructor

Source: bp-core/classes/class-bp-core-notification.php:84

BP_Core_Notification::save()

Update or insert notification details into the database.

Source: bp-core/classes/class-bp-core-notification.php:98

BP_Core_Notification::populate()

Fetches the notification data from the database.

Source: bp-core/classes/class-bp-core-notification.php:128

BP_Core_Notification::check_access()

Check the access for a user.

Source: bp-core/classes/class-bp-core-notification.php:153

BP_Core_Notification::get_all_for_user()

Fetches all the notifications in the database for a specific user.

Source: bp-core/classes/class-bp-core-notification.php:172

BP_Core_Notification::delete_for_user_by_type()

Delete all the notifications for a user based on the component name and action.

Source: bp-core/classes/class-bp-core-notification.php:196

BP_Core_Notification::delete_for_user_by_item_id()

Delete all the notifications that have a specific item id, component name and action.

Source: bp-core/classes/class-bp-core-notification.php:219

BP_Core_Notification::delete_from_user_by_type()

Deletes all the notifications sent by a specific user, by component and action.

Source: bp-core/classes/class-bp-core-notification.php:243

BP_Core_Notification::delete_all_by_type()

Deletes all the notifications for all users by item id, and optional secondary item id, and component name and action.

Source: bp-core/classes/class-bp-core-notification.php:265