ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
|
Public Member Functions | |
__construct (?ilDBInterface $database=null) | |
createOSDNotification (int $user_id, ilNotificationObject $object) | |
ifOSDNotificationExistsById (int $id) | |
getOSDNotificationsByUser (int $user_id, int $max_age_seconds=0, string $type='') | |
deleteOSDNotificationById (int $id) | |
deleteOSDNotificationByIdentification (string $povider_type, string $identification, int $user_id=0) | |
deleteStaleOSDNotificationsForUserAndType (string $povider_type, int $user_id, int $until_timestamp) | |
deleteAllOSDNotifications () | |
![]() | |
__construct () | |
getOSDNotificationsByUser (int $user_id) | |
Private Member Functions | |
getCurrentUnixTimestamp () | |
deleteOSDNotificationByUserAndType (int $user_id, string $type) | |
Private Attributes | |
const | UNIQUE_TYPES |
readonly ilDBInterface | $database |
Definition at line 36 of file ilNotificationOSDRepository.php.
ILIAS\Notifications\Repository\ilNotificationOSDRepository::__construct | ( | ?ilDBInterface | $database = null | ) |
Definition at line 44 of file ilNotificationOSDRepository.php.
References ILIAS\Notifications\Repository\ilNotificationOSDRepository\$database, $DIC, and null.
ILIAS\Notifications\Repository\ilNotificationOSDRepository::createOSDNotification | ( | int | $user_id, |
ilNotificationObject | $object | ||
) |
Implements ILIAS\Notifications\Repository\ilNotificationOSDRepositoryInterface.
Definition at line 58 of file ilNotificationOSDRepository.php.
References $id, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_osd_handler, ILIAS\Notifications\Repository\ilNotificationOSDRepository\deleteOSDNotificationByUserAndType(), ILIAS\Notifications\Repository\ilNotificationOSDRepository\getCurrentUnixTimestamp(), null, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
ILIAS\Notifications\Repository\ilNotificationOSDRepository::deleteAllOSDNotifications | ( | ) |
Definition at line 200 of file ilNotificationOSDRepository.php.
References ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_osd_handler.
ILIAS\Notifications\Repository\ilNotificationOSDRepository::deleteOSDNotificationById | ( | int | $id | ) |
Implements ILIAS\Notifications\Repository\ilNotificationOSDRepositoryInterface.
Definition at line 157 of file ilNotificationOSDRepository.php.
References ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_osd_handler, ILIAS\Notifications\Repository\ilNotificationOSDRepository\ifOSDNotificationExistsById(), and ilDBConstants\T_INTEGER.
ILIAS\Notifications\Repository\ilNotificationOSDRepository::deleteOSDNotificationByIdentification | ( | string | $povider_type, |
string | $identification, | ||
int | $user_id = 0 |
||
) |
Definition at line 177 of file ilNotificationOSDRepository.php.
References ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_osd_handler, $user_id, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
|
private |
Definition at line 167 of file ilNotificationOSDRepository.php.
References ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_osd_handler, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by ILIAS\Notifications\Repository\ilNotificationOSDRepository\createOSDNotification().
ILIAS\Notifications\Repository\ilNotificationOSDRepository::deleteStaleOSDNotificationsForUserAndType | ( | string | $povider_type, |
int | $user_id, | ||
int | $until_timestamp | ||
) |
Definition at line 190 of file ilNotificationOSDRepository.php.
References ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_osd_handler, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
|
private |
Definition at line 53 of file ilNotificationOSDRepository.php.
Referenced by ILIAS\Notifications\Repository\ilNotificationOSDRepository\createOSDNotification(), and ILIAS\Notifications\Repository\ilNotificationOSDRepository\getOSDNotificationsByUser().
ILIAS\Notifications\Repository\ilNotificationOSDRepository::getOSDNotificationsByUser | ( | int | $user_id, |
int | $max_age_seconds = 0 , |
||
string | $type = '' |
||
) |
Definition at line 105 of file ilNotificationOSDRepository.php.
References ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_osd_handler, $user_id, ILIAS\Notifications\Repository\ilNotificationOSDRepository\getCurrentUnixTimestamp(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
ILIAS\Notifications\Repository\ilNotificationOSDRepository::ifOSDNotificationExistsById | ( | int | $id | ) |
Implements ILIAS\Notifications\Repository\ilNotificationOSDRepositoryInterface.
Definition at line 96 of file ilNotificationOSDRepository.php.
References ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_osd_handler, and ilDBConstants\T_INTEGER.
Referenced by ILIAS\Notifications\Repository\ilNotificationOSDRepository\deleteOSDNotificationById().
|
private |
Definition at line 42 of file ilNotificationOSDRepository.php.
Referenced by ILIAS\Notifications\Repository\ilNotificationOSDRepository\__construct().
|
private |
Definition at line 38 of file ilNotificationOSDRepository.php.