Operations for retrieving and modifying users' press notification status. More...
Public Member Functions | |
| deleteNotificationStatusByPress ($pressId) | |
| deleteNotificationStatusByUserId ($userId) | |
| & | getNotifiableUsersByPressId ($pressId) |
| getNotifiableUsersCount ($pressId) | |
| NotificationStatusDAO () | |
| setPressNotifications ($pressId, $userId, $notificationStatus) | |
Operations for retrieving and modifying users' press notification status.
Definition at line 16 of file NotificationStatusDAO.inc.php.
| NotificationStatusDAO.deleteNotificationStatusByPress | ( | $ | pressId | ) |
Delete notification status entries by press ID
| $pressId | int |
Definition at line 62 of file NotificationStatusDAO.inc.php.
| NotificationStatusDAO.deleteNotificationStatusByUserId | ( | $ | userId | ) |
Delete notification status entries by user ID
| $userId | int |
Definition at line 72 of file NotificationStatusDAO.inc.php.
| & NotificationStatusDAO.getNotifiableUsersByPressId | ( | $ | pressId | ) |
Retrieve a list of users who wish to receive updates about the specified press.
| $pressId | int |
Definition at line 83 of file NotificationStatusDAO.inc.php.
| NotificationStatusDAO.getNotifiableUsersCount | ( | $ | pressId | ) |
Retrieve the number of users who wish to receive updates about the specified press.
| $pressId | int |
Definition at line 100 of file NotificationStatusDAO.inc.php.
| NotificationStatusDAO.NotificationStatusDAO | ( | ) |
Constructor
Definition at line 20 of file NotificationStatusDAO.inc.php.
| NotificationStatusDAO.setPressNotifications | ( | $ | pressId, | |
| $ | userId, | |||
| $ | notificationStatus | |||
| ) |
Changes whether or not a user will receive email notifications about a given press.
| $pressId | int | |
| $userId | int | |
| $notificationStatus | bool |
Definition at line 50 of file NotificationStatusDAO.inc.php.
1.7.1