30         return self::TABLE_NAME;
    38         return self::TABLE_NAME;
    45         $not_id = $ilADNNotification->
getId();
    47         if (!isset(self::$request_cache[
$usr_id][$not_id])) {
    48             self::$request_cache[
$usr_id][$not_id] = self::where(array(
    50                 'notification_id' => $not_id,
    54         return (
bool) self::$request_cache[
$usr_id][$not_id];
    59         if (!self::hasDimissed($ilObjUser, $ilADNNotification) && $ilADNNotification->
isUserAllowedToDismiss($ilObjUser)) {
    61             $obj->setNotificationId($ilADNNotification->
getId());
    62             $obj->setUsrId($ilObjUser->
getId());
    72         foreach (self::where(array(
'notification_id' => $ilADNNotification->
getId())) as $dismiss) {
    85     protected ?
int $id = null;
   104     public function setId(
int $id): void
 static returnDbTableName()
 
static hasDimissed(ilObjUser $ilObjUser, ilADNNotification $ilADNNotification)
 
static array $request_cache
 
static dismiss(ilObjUser $ilObjUser, ilADNNotification $ilADNNotification)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getConnectorContainerName()
 
isUserAllowedToDismiss(ilObjUser $user)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
int $usr_id
true  integer  8 
 
int $id
true  true  true  integer  8  true 
 
int $notification_id
true  integer  8 
 
setNotificationId(int $notification_id)