ILIAS  release_8 Revision v8.24
class.ilLPStatusIndividualAssessment.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=0);
4
6{
7 public static function _getNotAttempted(int $a_obj_id): array
8 {
10 $a_obj_id,
12 );
13 }
14
15 public static function _getCountNotAttempted(int $a_obj_id): int
16 {
17 return count(self::_getNotAttempted($a_obj_id));
18 }
19
20 public static function _getCountInProgress(int $a_obj_id): int
21 {
22 return count(self::_getInProgress($a_obj_id));
23 }
24
25 public static function _getInProgress(int $a_obj_id): array
26 {
28 $a_obj_id,
30 );
31 }
32
33 public static function _getCountCompleted(int $a_obj_id): int
34 {
35 return count(self::_getCompleted($a_obj_id));
36 }
37
38 public static function _getCompleted(int $a_obj_id): array
39 {
41 $a_obj_id,
43 );
44 }
45
46 public static function _getCountFailed(int $a_obj_id): int
47 {
48 return count(self::_getFailed($a_obj_id));
49 }
50
51 public static function _getFailed(int $a_obj_id): array
52 {
54 $a_obj_id,
56 );
57 }
58
59 public function determineStatus(
60 int $a_obj_id,
61 int $a_usr_id,
62 object $a_obj = null
63 ): int {
64 switch ((string) ilIndividualAssessmentLPInterface::determineStatusOfMember(
65 $a_obj_id,
66 $a_usr_id
67 )) {
76 default:
78 }
79 }
80}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getMembersHavingStatusIn(int $iass_id, int $status)
determineStatus(int $a_obj_id, int $a_usr_id, object $a_obj=null)
Abstract class ilLPStatus for all learning progress modes E.g ilLPStatusManual, ilLPStatusObjectives ...
const LP_STATUS_COMPLETED_NUM
const LP_STATUS_IN_PROGRESS_NUM
const LP_STATUS_NOT_ATTEMPTED_NUM
const LP_STATUS_FAILED_NUM