19 declare(strict_types=1);
38 public function getForUser(
int $usr_id): array;
47 ?array $user_filter =
null,
57 ?array $user_filter =
null,
83 array $programmes_and_due,
84 bool $discard_formerly_notified =
true store(ilPRGAssignment $assignment)
getLatestAssignment(int $root_prg_obj_id, int $usr_id)
Get the user's assignment on a prg that was created last.
getAboutToExpire(array $programmes_and_due, bool $discard_formerly_notified=true)
getExpiredAndNotInvalidated()
countAllForNodeIsContained(int $prg_obj_id, ?array $user_filter=null, ?ilPRGAssignmentFilter $custom_filters=null)
Count all assignments for all (or given) users, where the given node is part of the assignment...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getAllForSpecificNode(int $prg_obj_id, ?array $user_filter=null)
get all assignments for all (or given) users, where the given node is the root-node of the assignment...
createFor(int $prg_obj_id, int $usr_id, int $assigning_usr_id)
getLongestValidAssignment(int $root_prg_obj_id, int $usr_id)
Get the user's assignment on a prg with the longest lasting qualification.
getForUser(int $usr_id)
get all assignments for a user
getAllForNodeIsContained(int $prg_obj_id, ?array $user_filter=null, ?ilPRGAssignmentFilter $custom_filters=null)
get all assignments for all (or given) users, where the given node is part of the assignment ...
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
getDashboardInstancesforUser(int $usr_id)
Assignments are relations of users to a PRG; They hold progress-information for (sub-)nodes of the PR...
getPassedDeadline(\DateTimeImmutable $deadline)
deleteAllAssignmentsForProgrammeId(int $prg_obj_id)