| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
class ilcourseobjective More...
 Collaboration diagram for ilCourseObjectiveResult:Public Member Functions | |
| __construct (int $a_usr_id) | |
| getUserId () | |
| getAccomplished (int $a_crs_id) | |
| getSuggested (int $a_crs_id, string $a_status=self::IL_OBJECTIVE_STATUS_FINAL) | |
| reset (int $a_course_id) | |
| getStatus (int $a_course_id) | |
| hasAccomplishedObjective (int $a_objective_id) | |
| readStatus (int $a_crs_id) | |
Static Public Member Functions | |
| static | _getAccomplished (int $a_user_id, int $a_crs_id) | 
| static | _getSuggested (int $a_user_id, int $a_crs_id, string $a_status=self::IL_OBJECTIVE_STATUS_FINAL) | 
| static | getSuggestedQuestions (int $a_usr_id, int $a_crs_id) | 
| static | _updateObjectiveResult (int $a_user_id, int $a_active_id, int $a_question_id) | 
| static | _readAssignedObjectivesOfQuestion (int $a_question_id) | 
| static | _readAssignedObjectives (array $a_all_objectives) | 
| static | _updateObjectiveStatus (int $a_user_id, array $objectives) | 
| static | __isFullfilled (array $question_points, array $objective_data) | 
Data Fields | |
| const | IL_OBJECTIVE_STATUS_EMPTY = 'empty' | 
| const | IL_OBJECTIVE_STATUS_PRETEST = 'pretest' | 
| const | IL_OBJECTIVE_STATUS_FINAL = 'final' | 
| const | IL_OBJECTIVE_STATUS_NONE = 'none' | 
| const | IL_OBJECTIVE_STATUS_FINISHED = 'finished' | 
| const | IL_OBJECTIVE_STATUS_PRETEST_NON_SUGGEST = 'pretest_non_suggest' | 
Protected Member Functions | |
| resetTestForUser (ilObjTest $a_test, int $a_user_id) | |
Static Protected Member Functions | |
| static | __updatePassed (int $a_user_id, array $objective_ids) | 
Protected Attributes | |
| ilDBInterface | $db | 
| ILIAS TestQuestionPool Questions PublicInterface | $questioninfo | 
Private Attributes | |
| int | $user_id | 
class ilcourseobjective
Definition at line 25 of file class.ilCourseObjectiveResult.php.
| ilCourseObjectiveResult::__construct | ( | int | $a_usr_id | ) | 
      
  | 
  static | 
Definition at line 395 of file class.ilCourseObjectiveResult.php.
References $DIC.
Referenced by _updateObjectiveStatus().
 Here is the caller graph for this function:
      
  | 
  staticprotected | 
Definition at line 418 of file class.ilCourseObjectiveResult.php.
References $DIC, $ilDB, $res, ilCourseParticipants\_getInstanceByObjId(), ilLPStatusWrapper\_updateStatus(), ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by _updateObjectiveStatus().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 59 of file class.ilCourseObjectiveResult.php.
References $DIC, $ilDB, $objectives, $res, ilCourseObjective\_getObjectiveIds(), ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by getAccomplished().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 85 of file class.ilCourseObjectiveResult.php.
References $DIC, $ilDB, $objectives, $res, ilCourseObjective\_getObjectiveIds(), ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by getSuggested(), and ilCourseObjectiveResultCache\readSuggested().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 298 of file class.ilCourseObjectiveResult.php.
References $DIC, $ilDB, $objectives, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by getStatus(), and readStatus().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 273 of file class.ilCourseObjectiveResult.php.
References $DIC, $ilDB, $objectives, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 262 of file class.ilCourseObjectiveResult.php.
References $objectives.
Referenced by assQuestion\buildHashedImageFilename(), assQuestion\calculateResultsFromSolution(), and ILIAS\Test\Scoring\Manual\TestScoring\updateReachedPoints().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 321 of file class.ilCourseObjectiveResult.php.
References $data, $DIC, $ilDB, $res, __isFullfilled(), __updatePassed(), ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by readStatus().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCourseObjectiveResult::getAccomplished | ( | int | $a_crs_id | ) | 
Definition at line 54 of file class.ilCourseObjectiveResult.php.
References _getAccomplished(), and getUserId().
Referenced by getStatus().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCourseObjectiveResult::getStatus | ( | int | $a_course_id | ) | 
Definition at line 205 of file class.ilCourseObjectiveResult.php.
References $data, $objectives, ilCourseObjective\_getObjectiveIds(), _readAssignedObjectives(), getAccomplished(), and getSuggested().
 Here is the call graph for this function:| ilCourseObjectiveResult::getSuggested | ( | int | $a_crs_id, | 
| string | $a_status = self::IL_OBJECTIVE_STATUS_FINAL  | 
        ||
| ) | 
Definition at line 80 of file class.ilCourseObjectiveResult.php.
References _getSuggested(), and getUserId().
Referenced by getStatus().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 126 of file class.ilCourseObjectiveResult.php.
| ilCourseObjectiveResult::getUserId | ( | ) | 
Definition at line 49 of file class.ilCourseObjectiveResult.php.
References $user_id.
Referenced by getAccomplished(), getSuggested(), hasAccomplishedObjective(), readStatus(), and reset().
 Here is the caller graph for this function:| ilCourseObjectiveResult::hasAccomplishedObjective | ( | int | $a_objective_id | ) | 
Definition at line 242 of file class.ilCourseObjectiveResult.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, and getUserId().
 Here is the call graph for this function:| ilCourseObjectiveResult::readStatus | ( | int | $a_crs_id | ) | 
Definition at line 255 of file class.ilCourseObjectiveResult.php.
References $objectives, ilCourseObjective\_getObjectiveIds(), _readAssignedObjectives(), _updateObjectiveStatus(), and getUserId().
 Here is the call graph for this function:| ilCourseObjectiveResult::reset | ( | int | $a_course_id | ) | 
Definition at line 151 of file class.ilCourseObjectiveResult.php.
References $DIC, $lng, $objectives, $res, ilCourseObjective\_getObjectiveIds(), ilLPStatusWrapper\_updateStatus(), ilLOTestAssignments\getInstance(), ilLOSettings\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), getUserId(), resetTestForUser(), ilDBConstants\T_INTEGER, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by ilObjCourseGUI\resetObject().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 138 of file class.ilCourseObjectiveResult.php.
References ilObjTest\getActiveIdOfUser(), ilObject\getId(), ilObjectLP\getInstance(), and ilObjTest\removeTestActives().
Referenced by reset().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 36 of file class.ilCourseObjectiveResult.php.
      
  | 
  protected | 
Definition at line 37 of file class.ilCourseObjectiveResult.php.
      
  | 
  private | 
Definition at line 34 of file class.ilCourseObjectiveResult.php.
Referenced by getUserId().
| const ilCourseObjectiveResult::IL_OBJECTIVE_STATUS_EMPTY = 'empty' | 
Definition at line 27 of file class.ilCourseObjectiveResult.php.
| const ilCourseObjectiveResult::IL_OBJECTIVE_STATUS_FINAL = 'final' | 
Definition at line 29 of file class.ilCourseObjectiveResult.php.
Referenced by ilCourseObjectiveListGUI\insertProgressInfo().
| const ilCourseObjectiveResult::IL_OBJECTIVE_STATUS_FINISHED = 'finished' | 
Definition at line 31 of file class.ilCourseObjectiveResult.php.
Referenced by ilCourseObjectiveListGUI\insertProgressInfo().
| const ilCourseObjectiveResult::IL_OBJECTIVE_STATUS_NONE = 'none' | 
Definition at line 30 of file class.ilCourseObjectiveResult.php.
Referenced by ilCourseObjectiveListGUI\insertProgressInfo(), and ilCourseObjectiveListGUI\insertTitle().
| const ilCourseObjectiveResult::IL_OBJECTIVE_STATUS_PRETEST = 'pretest' | 
Definition at line 28 of file class.ilCourseObjectiveResult.php.
Referenced by ilCourseObjectiveListGUI\insertProgressInfo().
| const ilCourseObjectiveResult::IL_OBJECTIVE_STATUS_PRETEST_NON_SUGGEST = 'pretest_non_suggest' | 
Definition at line 32 of file class.ilCourseObjectiveResult.php.
Referenced by ilCourseObjectiveListGUI\insertProgressInfo().