|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilAssQuestionList:
Collaboration diagram for ilAssQuestionList:Public Member Functions | |
| __construct (ilDBInterface $db, ilLanguage $lng, Refinery $refinery, ilComponentRepository $component_repository) | |
| getParentObjId () | |
| setParentObjId ($parentObjId) | |
| getParentObjectType () | |
| setParentObjectType ($parentObjType) | |
| getParentObjIdsFilter () | |
| setParentObjIdsFilter ($parentObjIdsFilter) | |
| setQuestionInstanceTypeFilter ($questionInstanceTypeFilter) | |
| getQuestionInstanceTypeFilter () | |
| setIncludeQuestionIdsFilter ($questionIdsFilter) | |
| getIncludeQuestionIdsFilter () | |
| getExcludeQuestionIdsFilter () | |
| setExcludeQuestionIdsFilter ($excludeQuestionIdsFilter) | |
| getQuestionCompletionStatusFilter () | |
| setQuestionCompletionStatusFilter ($questionCompletionStatusFilter) | |
| addFieldFilter ($fieldName, $fieldValue) | |
| addTaxonomyFilter ($taxId, $taxNodes, $parentObjId, $parentObjType) | |
| setAvailableTaxonomyIds ($availableTaxonomyIds) | |
| getAvailableTaxonomyIds () | |
| setAnswerStatusActiveId ($answerStatusActiveId) | |
| getAnswerStatusActiveId () | |
| setAnswerStatusFilter ($answerStatusFilter) | |
| getAnswerStatusFilter () | |
| setJoinObjectData ($a_val) | |
| Set if object data table should be joined. More... | |
| getJoinObjectData () | |
| Get if object data table should be joined. More... | |
| setForcedQuestionIds ($forcedQuestionIds) | |
| getForcedQuestionIds () | |
| load () | |
| getDataArrayForQuestionId ($questionId) | |
| getQuestionDataArray () | |
| isInList ($questionId) | |
| getTitle (string $a_comp_id, string $a_item_type, int $a_item_id) | |
| Get title of an assigned item. More... | |
| getTitle (string $a_comp_id, string $a_item_type, int $a_item_id) | |
| Get title of an assigned item. More... | |
Data Fields | |
| const | QUESTION_ANSWER_STATUS_NON_ANSWERED = 'nonAnswered' |
| answer status domain for single questions More... | |
| const | QUESTION_ANSWER_STATUS_WRONG_ANSWERED = 'wrongAnswered' |
| const | QUESTION_ANSWER_STATUS_CORRECT_ANSWERED = 'correctAnswered' |
| const | ANSWER_STATUS_FILTER_ALL_NON_CORRECT = 'allNonCorrect' |
| answer status filter value domain More... | |
| const | ANSWER_STATUS_FILTER_NON_ANSWERED_ONLY = 'nonAnswered' |
| const | ANSWER_STATUS_FILTER_WRONG_ANSWERED_ONLY = 'wrongAnswered' |
| const | QUESTION_INSTANCE_TYPE_ORIGINALS = 'QST_INSTANCE_TYPE_ORIGINALS' |
| const | QUESTION_INSTANCE_TYPE_DUPLICATES = 'QST_INSTANCE_TYPE_DUPLICATES' |
| const | QUESTION_INSTANCE_TYPE_ALL = 'QST_INSTANCE_TYPE_ALL' |
| const | QUESTION_COMPLETION_STATUS_COMPLETE = 'complete' |
| const | QUESTION_COMPLETION_STATUS_INCOMPLETE = 'incomplete' |
| const | QUESTION_COMPLETION_STATUS_BOTH = 'complete/incomplete' |
Protected Member Functions | |
| getTaxItems ($parentType, $parentObjId, $taxId, $taxNode) | |
Protected Attributes | |
| $join_obj_data = true | |
| $questions = array() | |
Private Member Functions | |
| getParentObjFilterExpression () | |
| getFieldFilterExpressions () | |
| getTaxonomyFilterExpressions () | |
| getQuestionInstanceTypeFilterExpression () | |
| getQuestionIdsFilterExpressions () | |
| getParentObjectIdFilterExpression () | |
| getAnswerStatusFilterExpressions () | |
| getTableJoinExpression () | |
| getConditionalFilterExpression () | |
| getSelectFieldsExpression () | |
| buildBasicQuery () | |
| buildQuery () | |
| loadTaxonomyAssignmentData ($parentObjId, $questionId) | |
| isActiveQuestionType (array $questionData) | |
| checkFilters () | |
Private Attributes | |
| ilDBInterface | $db |
| ilLanguage | $lng |
| Refinery | $refinery |
| ilComponentRepository | $component_repository |
| $parentObjIdsFilter = array() | |
| $parentObjId = null | |
| $parentObjType = 'qpl' | |
| $availableTaxonomyIds = array() | |
| $fieldFilters = array() | |
| $taxFilters = array() | |
| $taxParentIds = array() | |
| $taxParentTypes = array() | |
| $answerStatusActiveId = null | |
| $forcedQuestionIds = array() | |
| $answerStatusFilter = null | |
| $questionInstanceTypeFilter = self::QUESTION_INSTANCE_TYPE_ORIGINALS | |
| $includeQuestionIdsFilter = null | |
| $excludeQuestionIdsFilter = null | |
| $questionCompletionStatusFilter = self::QUESTION_COMPLETION_STATUS_BOTH | |
Definition at line 27 of file class.ilAssQuestionList.php.
| ilAssQuestionList::__construct | ( | ilDBInterface | $db, |
| ilLanguage | $lng, | ||
| Refinery | $refinery, | ||
| ilComponentRepository | $component_repository | ||
| ) |
Definition at line 150 of file class.ilAssQuestionList.php.
References $component_repository, $db, $lng, $refinery, ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilAssQuestionList::addFieldFilter | ( | $fieldName, | |
| $fieldValue | |||
| ) |
Definition at line 238 of file class.ilAssQuestionList.php.
| ilAssQuestionList::addTaxonomyFilter | ( | $taxId, | |
| $taxNodes, | |||
| $parentObjId, | |||
| $parentObjType | |||
| ) |
Definition at line 243 of file class.ilAssQuestionList.php.
References $parentObjId, and $parentObjType.
|
private |
Definition at line 608 of file class.ilAssQuestionList.php.
Referenced by buildQuery().
Here is the caller graph for this function:
|
private |
Definition at line 621 of file class.ilAssQuestionList.php.
References $query, buildBasicQuery(), and getForcedQuestionIds().
Referenced by load().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 761 of file class.ilAssQuestionList.php.
References getAnswerStatusActiveId(), and getAnswerStatusFilter().
Referenced by load().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionList::getAnswerStatusActiveId | ( | ) |
Definition at line 265 of file class.ilAssQuestionList.php.
References $answerStatusActiveId.
Referenced by checkFilters(), getSelectFieldsExpression(), and getTableJoinExpression().
Here is the caller graph for this function:| ilAssQuestionList::getAnswerStatusFilter | ( | ) |
Definition at line 275 of file class.ilAssQuestionList.php.
References $answerStatusFilter.
Referenced by checkFilters(), and getAnswerStatusFilterExpressions().
Here is the caller graph for this function:
|
private |
Definition at line 488 of file class.ilAssQuestionList.php.
References ANSWER_STATUS_FILTER_ALL_NON_CORRECT, ANSWER_STATUS_FILTER_NON_ANSWERED_ONLY, ANSWER_STATUS_FILTER_WRONG_ANSWERED_ONLY, and getAnswerStatusFilter().
Referenced by getConditionalFilterExpression().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionList::getAvailableTaxonomyIds | ( | ) |
Definition at line 255 of file class.ilAssQuestionList.php.
References $availableTaxonomyIds.
Referenced by loadTaxonomyAssignmentData().
Here is the caller graph for this function:
|
private |
Definition at line 548 of file class.ilAssQuestionList.php.
References getAnswerStatusFilterExpressions(), getFieldFilterExpressions(), getParentObjectIdFilterExpression(), getParentObjFilterExpression(), getQuestionIdsFilterExpressions(), getQuestionInstanceTypeFilterExpression(), and getTaxonomyFilterExpressions().
Here is the call graph for this function:| ilAssQuestionList::getDataArrayForQuestionId | ( | $questionId | ) |
Definition at line 724 of file class.ilAssQuestionList.php.
| ilAssQuestionList::getExcludeQuestionIdsFilter | ( | ) |
Definition at line 218 of file class.ilAssQuestionList.php.
References $excludeQuestionIdsFilter.
Referenced by getQuestionIdsFilterExpressions().
Here is the caller graph for this function:
|
private |
Definition at line 329 of file class.ilAssQuestionList.php.
Referenced by getConditionalFilterExpression().
Here is the caller graph for this function:| ilAssQuestionList::getForcedQuestionIds | ( | ) |
Definition at line 311 of file class.ilAssQuestionList.php.
References $forcedQuestionIds.
Referenced by buildQuery().
Here is the caller graph for this function:| ilAssQuestionList::getIncludeQuestionIdsFilter | ( | ) |
Definition at line 213 of file class.ilAssQuestionList.php.
References $includeQuestionIdsFilter.
Referenced by getQuestionIdsFilterExpressions().
Here is the caller graph for this function:| ilAssQuestionList::getJoinObjectData | ( | ) |
Get if object data table should be joined.
Definition at line 295 of file class.ilAssQuestionList.php.
References $join_obj_data.
|
private |
Definition at line 479 of file class.ilAssQuestionList.php.
Referenced by getConditionalFilterExpression().
Here is the caller graph for this function:| ilAssQuestionList::getParentObjectType | ( | ) |
Definition at line 172 of file class.ilAssQuestionList.php.
References $parentObjType.
Referenced by getTableJoinExpression().
Here is the caller graph for this function:
|
private |
Definition at line 316 of file class.ilAssQuestionList.php.
References getParentObjId(), and getParentObjIdsFilter().
Referenced by getConditionalFilterExpression().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionList::getParentObjId | ( | ) |
Definition at line 162 of file class.ilAssQuestionList.php.
References $parentObjId.
Referenced by getParentObjFilterExpression(), and ilTestSkillEvaluation\init().
Here is the caller graph for this function:| ilAssQuestionList::getParentObjIdsFilter | ( | ) |
Definition at line 185 of file class.ilAssQuestionList.php.
References $parentObjIdsFilter.
Referenced by getParentObjFilterExpression().
Here is the caller graph for this function:| ilAssQuestionList::getQuestionCompletionStatusFilter | ( | ) |
Definition at line 228 of file class.ilAssQuestionList.php.
References $questionCompletionStatusFilter.
| ilAssQuestionList::getQuestionDataArray | ( | ) |
Definition at line 729 of file class.ilAssQuestionList.php.
References $questions.
Referenced by ilTestDynamicQuestionSet\getQuestionSequenceStructuredByTaxonomy(), ilTestDynamicQuestionSet\getQuestionSequenceStructuredByUpdateDate(), and ilTestSkillEvaluation\initTestQuestionData().
Here is the caller graph for this function:
|
private |
Definition at line 448 of file class.ilAssQuestionList.php.
References getExcludeQuestionIdsFilter(), and getIncludeQuestionIdsFilter().
Referenced by getConditionalFilterExpression().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionList::getQuestionInstanceTypeFilter | ( | ) |
Definition at line 203 of file class.ilAssQuestionList.php.
References $questionInstanceTypeFilter.
Referenced by getQuestionInstanceTypeFilterExpression(), and getTableJoinExpression().
Here is the caller graph for this function:
|
private |
Definition at line 433 of file class.ilAssQuestionList.php.
References getQuestionInstanceTypeFilter(), QUESTION_INSTANCE_TYPE_ALL, QUESTION_INSTANCE_TYPE_DUPLICATES, and QUESTION_INSTANCE_TYPE_ORIGINALS.
Referenced by getConditionalFilterExpression().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 577 of file class.ilAssQuestionList.php.
References getAnswerStatusActiveId().
Here is the call graph for this function:
|
private |
Definition at line 515 of file class.ilAssQuestionList.php.
References getAnswerStatusActiveId(), getParentObjectType(), and getQuestionInstanceTypeFilter().
Here is the call graph for this function:
|
protected |
| string | $parentType | |
| int | $parentObjId | |
| int | $taxId | |
| int | $taxNode |
Definition at line 416 of file class.ilAssQuestionList.php.
References $parentObjId.
Referenced by getTaxonomyFilterExpressions().
Here is the caller graph for this function:
|
private |
Definition at line 366 of file class.ilAssQuestionList.php.
References getTaxItems().
Referenced by getConditionalFilterExpression().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionList::getTitle | ( | string | $a_comp_id, |
| string | $a_item_type, | ||
| int | $a_item_id | ||
| ) |
Get title of an assigned item.
(is used from ilObjTaxonomyGUI when item sorting is activated)
| string | $a_comp_id | ('qpl' in our context) |
| string | $a_item_type | ('quest' in our context) |
| integer | $a_item_id | (questionId in our context) |
Implements ilTaxAssignedItemInfo.
Definition at line 748 of file class.ilAssQuestionList.php.
|
private |
Definition at line 694 of file class.ilAssQuestionList.php.
References ilComponentInfo\TYPE_MODULES.
Referenced by load().
Here is the caller graph for this function:| ilAssQuestionList::isInList | ( | $questionId | ) |
Definition at line 734 of file class.ilAssQuestionList.php.
| ilAssQuestionList::load | ( | ) |
Definition at line 637 of file class.ilAssQuestionList.php.
References $query, $res, buildQuery(), checkFilters(), ilAssQuestionType\completeMissingPluginName(), isActiveQuestionType(), ILIAS\Repository\lng(), loadTaxonomyAssignmentData(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
private |
Definition at line 664 of file class.ilAssQuestionList.php.
References $parentObjId, and getAvailableTaxonomyIds().
Referenced by load().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionList::setAnswerStatusActiveId | ( | $answerStatusActiveId | ) |
Definition at line 260 of file class.ilAssQuestionList.php.
References $answerStatusActiveId.
| ilAssQuestionList::setAnswerStatusFilter | ( | $answerStatusFilter | ) |
Definition at line 270 of file class.ilAssQuestionList.php.
References $answerStatusFilter.
| ilAssQuestionList::setAvailableTaxonomyIds | ( | $availableTaxonomyIds | ) |
Definition at line 250 of file class.ilAssQuestionList.php.
References $availableTaxonomyIds.
| ilAssQuestionList::setExcludeQuestionIdsFilter | ( | $excludeQuestionIdsFilter | ) |
Definition at line 223 of file class.ilAssQuestionList.php.
References $excludeQuestionIdsFilter.
| ilAssQuestionList::setForcedQuestionIds | ( | $forcedQuestionIds | ) |
| array | $forcedQuestionIds |
Definition at line 303 of file class.ilAssQuestionList.php.
References $forcedQuestionIds.
| ilAssQuestionList::setIncludeQuestionIdsFilter | ( | $questionIdsFilter | ) |
Definition at line 208 of file class.ilAssQuestionList.php.
| ilAssQuestionList::setJoinObjectData | ( | $a_val | ) |
Set if object data table should be joined.
| bool | $a_val | join object_data |
Definition at line 285 of file class.ilAssQuestionList.php.
| ilAssQuestionList::setParentObjectType | ( | $parentObjType | ) |
Definition at line 177 of file class.ilAssQuestionList.php.
References $parentObjType.
| ilAssQuestionList::setParentObjId | ( | $parentObjId | ) |
Definition at line 167 of file class.ilAssQuestionList.php.
References $parentObjId.
| ilAssQuestionList::setParentObjIdsFilter | ( | $parentObjIdsFilter | ) |
| array | $parentObjIdsFilter |
Definition at line 193 of file class.ilAssQuestionList.php.
References $parentObjIdsFilter.
| ilAssQuestionList::setQuestionCompletionStatusFilter | ( | $questionCompletionStatusFilter | ) |
Definition at line 233 of file class.ilAssQuestionList.php.
References $questionCompletionStatusFilter.
| ilAssQuestionList::setQuestionInstanceTypeFilter | ( | $questionInstanceTypeFilter | ) |
Definition at line 198 of file class.ilAssQuestionList.php.
References $questionInstanceTypeFilter.
|
private |
Definition at line 95 of file class.ilAssQuestionList.php.
Referenced by getAnswerStatusActiveId(), and setAnswerStatusActiveId().
|
private |
Definition at line 128 of file class.ilAssQuestionList.php.
Referenced by getAnswerStatusFilter(), and setAnswerStatusFilter().
|
private |
Definition at line 60 of file class.ilAssQuestionList.php.
Referenced by getAvailableTaxonomyIds(), and setAvailableTaxonomyIds().
|
private |
Definition at line 32 of file class.ilAssQuestionList.php.
Referenced by __construct().
|
private |
Definition at line 29 of file class.ilAssQuestionList.php.
Referenced by __construct().
|
private |
Definition at line 136 of file class.ilAssQuestionList.php.
Referenced by getExcludeQuestionIdsFilter(), and setExcludeQuestionIdsFilter().
|
private |
Definition at line 67 of file class.ilAssQuestionList.php.
|
private |
Definition at line 100 of file class.ilAssQuestionList.php.
Referenced by getForcedQuestionIds(), and setForcedQuestionIds().
|
private |
Definition at line 135 of file class.ilAssQuestionList.php.
Referenced by getIncludeQuestionIdsFilter().
|
protected |
Definition at line 106 of file class.ilAssQuestionList.php.
Referenced by getJoinObjectData().
|
private |
Definition at line 30 of file class.ilAssQuestionList.php.
Referenced by __construct().
|
private |
Definition at line 46 of file class.ilAssQuestionList.php.
Referenced by addTaxonomyFilter(), getParentObjId(), getTaxItems(), loadTaxonomyAssignmentData(), and setParentObjId().
|
private |
Definition at line 39 of file class.ilAssQuestionList.php.
Referenced by getParentObjIdsFilter(), and setParentObjIdsFilter().
|
private |
Definition at line 53 of file class.ilAssQuestionList.php.
Referenced by addTaxonomyFilter(), getParentObjectType(), and setParentObjectType().
|
private |
Definition at line 141 of file class.ilAssQuestionList.php.
Referenced by getQuestionCompletionStatusFilter(), and setQuestionCompletionStatusFilter().
|
private |
Definition at line 133 of file class.ilAssQuestionList.php.
Referenced by getQuestionInstanceTypeFilter(), and setQuestionInstanceTypeFilter().
|
protected |
Definition at line 148 of file class.ilAssQuestionList.php.
Referenced by getQuestionDataArray().
|
private |
Definition at line 31 of file class.ilAssQuestionList.php.
Referenced by __construct().
|
private |
Definition at line 74 of file class.ilAssQuestionList.php.
|
private |
Definition at line 81 of file class.ilAssQuestionList.php.
|
private |
Definition at line 88 of file class.ilAssQuestionList.php.
| const ilAssQuestionList::ANSWER_STATUS_FILTER_ALL_NON_CORRECT = 'allNonCorrect' |
answer status filter value domain
Definition at line 119 of file class.ilAssQuestionList.php.
Referenced by getAnswerStatusFilterExpressions(), and ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
| const ilAssQuestionList::ANSWER_STATUS_FILTER_NON_ANSWERED_ONLY = 'nonAnswered' |
Definition at line 120 of file class.ilAssQuestionList.php.
Referenced by getAnswerStatusFilterExpressions(), and ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
| const ilAssQuestionList::ANSWER_STATUS_FILTER_WRONG_ANSWERED_ONLY = 'wrongAnswered' |
Definition at line 121 of file class.ilAssQuestionList.php.
Referenced by getAnswerStatusFilterExpressions(), and ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
| const ilAssQuestionList::QUESTION_ANSWER_STATUS_CORRECT_ANSWERED = 'correctAnswered' |
Definition at line 114 of file class.ilAssQuestionList.php.
| const ilAssQuestionList::QUESTION_ANSWER_STATUS_NON_ANSWERED = 'nonAnswered' |
answer status domain for single questions
Definition at line 112 of file class.ilAssQuestionList.php.
| const ilAssQuestionList::QUESTION_ANSWER_STATUS_WRONG_ANSWERED = 'wrongAnswered' |
Definition at line 113 of file class.ilAssQuestionList.php.
| const ilAssQuestionList::QUESTION_COMPLETION_STATUS_BOTH = 'complete/incomplete' |
Definition at line 140 of file class.ilAssQuestionList.php.
| const ilAssQuestionList::QUESTION_COMPLETION_STATUS_COMPLETE = 'complete' |
Definition at line 138 of file class.ilAssQuestionList.php.
| const ilAssQuestionList::QUESTION_COMPLETION_STATUS_INCOMPLETE = 'incomplete' |
Definition at line 139 of file class.ilAssQuestionList.php.
| const ilAssQuestionList::QUESTION_INSTANCE_TYPE_ALL = 'QST_INSTANCE_TYPE_ALL' |
Definition at line 132 of file class.ilAssQuestionList.php.
Referenced by ilTestQuestionBrowserTableGUI\getQuestionInstanceTypeFilter(), and getQuestionInstanceTypeFilterExpression().
| const ilAssQuestionList::QUESTION_INSTANCE_TYPE_DUPLICATES = 'QST_INSTANCE_TYPE_DUPLICATES' |
Definition at line 131 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerFixedQuestionSetGUI\buildTestPassQuestionList(), ilTestPlayerRandomQuestionSetGUI\buildTestPassQuestionList(), ilTestResultsGUI\executeCommand(), ilTestServiceGUI\getFilteredTestResult(), getQuestionInstanceTypeFilterExpression(), and ilTestSkillAdministrationGUI\getRequiredQuestionInstanceTypeFilter().
| const ilAssQuestionList::QUESTION_INSTANCE_TYPE_ORIGINALS = 'QST_INSTANCE_TYPE_ORIGINALS' |
Definition at line 130 of file class.ilAssQuestionList.php.
Referenced by ilTestResultsGUI\executeCommand(), ilQuestionPoolSkillAdministrationGUI\executeCommand(), ilTestQuestionBrowserTableGUI\getQuestionInstanceTypeFilter(), getQuestionInstanceTypeFilterExpression(), and ilTestSkillAdministrationGUI\getRequiredQuestionInstanceTypeFilter().