ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
class.ilExcTutorRepository.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
18
class
ilExcTutorRepository
19
{
23
public
function
__construct
()
24
{
25
}
26
33
public
function
getExerciseIdsBeingTutor
(
int
$user_id) : array
34
{
35
return
ilNotification::getActivatedNotifications
(
ilNotification::TYPE_EXERCISE_SUBMISSION
, $user_id);
36
}
37
}
ilExcTutorRepository
Tutor repository class.
Definition:
class.ilExcTutorRepository.php:18
ilExcTutorRepository\getExerciseIdsBeingTutor
getExerciseIdsBeingTutor(int $user_id)
Get exercise IDs of exercises a user is currently tutor (being notified)
Definition:
class.ilExcTutorRepository.php:33
ilExcTutorRepository\__construct
__construct()
Constructor.
Definition:
class.ilExcTutorRepository.php:23
ilNotification\getActivatedNotifications
static getActivatedNotifications(int $type, int $user_id)
Get activated notifications of give type for user.
Definition:
class.ilNotification.php:343
ilNotification\TYPE_EXERCISE_SUBMISSION
const TYPE_EXERCISE_SUBMISSION
Definition:
class.ilNotification.php:15
Modules
Exercise
Tutor
classes
class.ilExcTutorRepository.php
Generated on Wed Sep 3 2025 21:00:56 for ILIAS by
1.8.13 (using
Doxyfile
)