NotificationsExceptions Class Reference
Facade class for notification exceptions. More...
Static Public Member Functions |
|
static | excluded ($id_user, $source, $source_id) |
Returns true if notifications for given
source and source id are excluded for given user. |
Detailed Description
Facade class for notification exceptions.
Definition at line 5 of file notificationsexceptions.facade.php.
Member Function Documentation
static NotificationsExceptions::excluded | ( | $ | id_user, | |
$ | source, | |||
$ | source_id | |||
) | [static] |
Returns true if notifications for given source and source id are excluded for given user.
Definition at line 10 of file notificationsexceptions.facade.php.
00010 { 00011 $ret = false; 00012 if ($id_user && $source && $source_id) { 00013 $dao = new DAONotificationsexceptions(); 00014 $dao->id_user = $id_user; 00015 $dao->source = $source; 00016 $dao->source_id = $source_id; 00017 $ret = ($dao->count() > 0); 00018 } 00019 return $ret; 00020 }
The documentation for this class was generated from the following file:
- contributions/usermanagement.notifications/model/classes/notificationsexceptions.facade.php