ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
|
Public Member Functions | |
__construct (private readonly ILDBInterface $db) | |
has (ilObjDataCollection $obj, int $user_id, ilDclNotificationType $type) | |
add (ilObjDataCollection $obj, ilObjUser $user, ilDclNotificationType $type) | |
delete (ilObjDataCollection $obj, ilObjUser $user, ilDclNotificationType $type) | |
clear (ilObjDataCollection $obj, ilObjUser $user) | |
deleteForObject (ilObjDataCollection $obj) | |
deleteForUser (int $user_id) | |
Private Attributes | |
const string | TABLE_NAME = 'il_dcl_notification' |
Definition at line 21 of file class.ilDclNotification.php.
ilDclNotification::__construct | ( | private readonly ILDBInterface | $db | ) |
Definition at line 25 of file class.ilDclNotification.php.
ilDclNotification::add | ( | ilObjDataCollection | $obj, |
ilObjUser | $user, | ||
ilDclNotificationType | $type | ||
) |
Definition at line 38 of file class.ilDclNotification.php.
References ilObject\getId(), has(), and ilDBConstants\T_INTEGER.
ilDclNotification::clear | ( | ilObjDataCollection | $obj, |
ilObjUser | $user | ||
) |
Definition at line 58 of file class.ilDclNotification.php.
References ilObject\getId(), and ilDBConstants\T_INTEGER.
ilDclNotification::delete | ( | ilObjDataCollection | $obj, |
ilObjUser | $user, | ||
ilDclNotificationType | $type | ||
) |
Definition at line 49 of file class.ilDclNotification.php.
References ilObject\getId(), and ilDBConstants\T_INTEGER.
ilDclNotification::deleteForObject | ( | ilObjDataCollection | $obj | ) |
Definition at line 67 of file class.ilDclNotification.php.
References ilObject\getId(), and ilDBConstants\T_INTEGER.
ilDclNotification::deleteForUser | ( | int | $user_id | ) |
Definition at line 76 of file class.ilDclNotification.php.
References ilDBConstants\T_INTEGER.
Referenced by ilDataCollectionAppEventListener\handleEvent().
ilDclNotification::has | ( | ilObjDataCollection | $obj, |
int | $user_id, | ||
ilDclNotificationType | $type | ||
) |
Definition at line 29 of file class.ilDclNotification.php.
References $user_id, ilObject\getId(), null, and ilDBConstants\T_INTEGER.
Referenced by add().
|
private |
Definition at line 23 of file class.ilDclNotification.php.