ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.IndividualDeadlineManager.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24{
25 public function __construct()
26 {
27 }
28
29 public function deleteAllOfUserInExercise(int $exc_id, int $part_or_team_id, bool $is_team = false): void
30 {
31 foreach (\ilExAssignment::getInstancesByExercise($exc_id) as $ass) {
33 $ass->getId(),
34 $part_or_team_id,
35 $is_team
36 );
37 $idl->delete();
38 }
39 }
40}
deleteAllOfUserInExercise(int $exc_id, int $part_or_team_id, bool $is_team=false)
static getInstancesByExercise(int $a_exc_id)
static getInstance(int $a_ass_id, int $a_participant_id, bool $a_is_team=false)