|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Collaboration diagram for ILIAS\TestQuestionPool\QuestionInfoService:Public Member Functions | |
| __construct (private \ilDBInterface $database, private \ilComponentFactory $component_factory, private \ilLanguage $lng) | |
| getQuestionTitle (int $question_id) | |
| getQuestionType (int $question_id) | |
| getQuestionTypeName (int $question_id) | |
| getQuestionText (int $a_q_id) | |
| getFractionOfReachedToReachablePointsTotal (int $a_q_id) | |
| getMaximumPoints (int $question_id) | |
| getQuestionInfo (int $question_id) | |
| areQuestionsAnsweredByUser (int $a_user_id, array $a_question_ids) | |
| Checks if an array of question ids is answered by a user or not. More... | |
| lookupResultRecordExist (int $activeId, int $questionId, int $pass) | |
| isClone (int $question_id) | |
| Checks whether the question is a clone of another question or not. More... | |
| isInUse (int $question_id=0) | |
| Checks whether the question is in use or not in pools or tests. More... | |
| usageNumber (int $question_id=0) | |
| Returns the number of place the question is in use in pools or tests. More... | |
| questionExists (int $question_id) | |
| questionExistsInPool (int $question_id) | |
| isUsedInRandomTest (int $question_id) | |
| originalQuestionExists (int $questionId) | |
| getOriginalId (int $question_id) | |
| getQuestionsMissingResultRecord (int $activeId, int $pass, array $questionIds) | |
| missingResultRecordExists (int $activeId, int $pass, array $questionIds) | |
| isInActiveTest (int $obj_id) | |
| questionTitleExistsInPool (int $questionpool_id, string $title) | |
Definition at line 7 of file class.QuestionInfoService.php.
| ILIAS\TestQuestionPool\QuestionInfoService::__construct | ( | private \ilDBInterface | $database, |
| private \ilComponentFactory | $component_factory, | ||
| private \ilLanguage | $lng | ||
| ) |
Definition at line 9 of file class.QuestionInfoService.php.
| ILIAS\TestQuestionPool\QuestionInfoService::areQuestionsAnsweredByUser | ( | int | $a_user_id, |
| array | $a_question_ids | ||
| ) |
Checks if an array of question ids is answered by a user or not.
| int | user_id |
| int[] | $question_ids user id array |
Definition at line 161 of file class.QuestionInfoService.php.
References $res.
| ILIAS\TestQuestionPool\QuestionInfoService::getFractionOfReachedToReachablePointsTotal | ( | int | $a_q_id | ) |
Definition at line 90 of file class.QuestionInfoService.php.
References ILIAS\LTI\ToolProvider\$key, and ILIAS\TestQuestionPool\QuestionInfoService\getMaximumPoints().
Here is the call graph for this function:| ILIAS\TestQuestionPool\QuestionInfoService::getMaximumPoints | ( | int | $question_id | ) |
Definition at line 126 of file class.QuestionInfoService.php.
Referenced by ILIAS\TestQuestionPool\QuestionInfoService\getFractionOfReachedToReachablePointsTotal().
Here is the caller graph for this function:| ILIAS\TestQuestionPool\QuestionInfoService::getOriginalId | ( | int | $question_id | ) |
Definition at line 294 of file class.QuestionInfoService.php.
| ILIAS\TestQuestionPool\QuestionInfoService::getQuestionInfo | ( | int | $question_id | ) |
Definition at line 141 of file class.QuestionInfoService.php.
| ILIAS\TestQuestionPool\QuestionInfoService::getQuestionsMissingResultRecord | ( | int | $activeId, |
| int | $pass, | ||
| array | $questionIds | ||
| ) |
| ILIAS\TestQuestionPool\QuestionInfoService::getQuestionText | ( | int | $a_q_id | ) |
Definition at line 74 of file class.QuestionInfoService.php.
| ILIAS\TestQuestionPool\QuestionInfoService::getQuestionTitle | ( | int | $question_id | ) |
| ILIAS\TestQuestionPool\QuestionInfoService::getQuestionType | ( | int | $question_id | ) |
Definition at line 34 of file class.QuestionInfoService.php.
References $data.
Referenced by ILIAS\TestQuestionPool\QuestionInfoService\getQuestionTypeName().
Here is the caller graph for this function:| ILIAS\TestQuestionPool\QuestionInfoService::getQuestionTypeName | ( | int | $question_id | ) |
Definition at line 54 of file class.QuestionInfoService.php.
References ILIAS\TestQuestionPool\QuestionInfoService\getQuestionType(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\TestQuestionPool\QuestionInfoService::isClone | ( | int | $question_id | ) |
Checks whether the question is a clone of another question or not.
Definition at line 192 of file class.QuestionInfoService.php.
| ILIAS\TestQuestionPool\QuestionInfoService::isInActiveTest | ( | int | $obj_id | ) |
| ILIAS\TestQuestionPool\QuestionInfoService::isInUse | ( | int | $question_id = 0 | ) |
Checks whether the question is in use or not in pools or tests.
Definition at line 206 of file class.QuestionInfoService.php.
References ILIAS\TestQuestionPool\QuestionInfoService\usageNumber().
Here is the call graph for this function:| ILIAS\TestQuestionPool\QuestionInfoService::isUsedInRandomTest | ( | int | $question_id | ) |
Definition at line 268 of file class.QuestionInfoService.php.
| ILIAS\TestQuestionPool\QuestionInfoService::lookupResultRecordExist | ( | int | $activeId, |
| int | $questionId, | ||
| int | $pass | ||
| ) |
Definition at line 174 of file class.QuestionInfoService.php.
| ILIAS\TestQuestionPool\QuestionInfoService::missingResultRecordExists | ( | int | $activeId, |
| int | $pass, | ||
| array | $questionIds | ||
| ) |
Definition at line 345 of file class.QuestionInfoService.php.
| ILIAS\TestQuestionPool\QuestionInfoService::originalQuestionExists | ( | int | $questionId | ) |
| ILIAS\TestQuestionPool\QuestionInfoService::questionExists | ( | int | $question_id | ) |
Definition at line 240 of file class.QuestionInfoService.php.
| ILIAS\TestQuestionPool\QuestionInfoService::questionExistsInPool | ( | int | $question_id | ) |
Definition at line 254 of file class.QuestionInfoService.php.
| ILIAS\TestQuestionPool\QuestionInfoService::questionTitleExistsInPool | ( | int | $questionpool_id, |
| string | $title | ||
| ) |
Definition at line 377 of file class.QuestionInfoService.php.
| ILIAS\TestQuestionPool\QuestionInfoService::usageNumber | ( | int | $question_id = 0 | ) |
Returns the number of place the question is in use in pools or tests.
Definition at line 214 of file class.QuestionInfoService.php.
References ILIAS\Repository\int().
Referenced by ILIAS\TestQuestionPool\QuestionInfoService\isInUse().
Here is the call graph for this function:
Here is the caller graph for this function: