|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for ilAssQuestionList:
Collaboration diagram for ilAssQuestionList:Public Member Functions | |
| __construct (ilDBInterface $db, ilLanguage $lng, ilPluginAdmin $pluginAdmin) | |
| Constructor. More... | |
| 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 ($a_comp_id, $a_item_type, $a_item_id) | |
| Get title of an assigned item. More... | |
| getTitle ($a_comp_id, $a_item_type, $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_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 | |
| $db = null | |
| $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 ($questionData) | |
| checkFilters () | |
Private Attributes | |
| $lng = null | |
| $pluginAdmin = null | |
| $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 16 of file class.ilAssQuestionList.php.
| ilAssQuestionList::__construct | ( | ilDBInterface | $db, |
| ilLanguage | $lng, | ||
| ilPluginAdmin | $pluginAdmin | ||
| ) |
Constructor.
| ilDBInterface | $db | |
| ilLanguage | $lng | |
| ilPluginAdmin | $pluginAdmin |
Definition at line 161 of file class.ilAssQuestionList.php.
References $db, $lng, and $pluginAdmin.
| ilAssQuestionList::addFieldFilter | ( | $fieldName, | |
| $fieldValue | |||
| ) |
Definition at line 244 of file class.ilAssQuestionList.php.
| ilAssQuestionList::addTaxonomyFilter | ( | $taxId, | |
| $taxNodes, | |||
| $parentObjId, | |||
| $parentObjType | |||
| ) |
Definition at line 249 of file class.ilAssQuestionList.php.
References $parentObjId, and $parentObjType.
|
private |
Definition at line 605 of file class.ilAssQuestionList.php.
Referenced by buildQuery().
Here is the caller graph for this function:
|
private |
Definition at line 618 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 743 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 271 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 281 of file class.ilAssQuestionList.php.
References $answerStatusFilter.
Referenced by checkFilters(), and getAnswerStatusFilterExpressions().
Here is the caller graph for this function:
|
private |
Definition at line 493 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 261 of file class.ilAssQuestionList.php.
References $availableTaxonomyIds.
Referenced by loadTaxonomyAssignmentData().
Here is the caller graph for this function:
|
private |
Definition at line 545 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 706 of file class.ilAssQuestionList.php.
| ilAssQuestionList::getExcludeQuestionIdsFilter | ( | ) |
Definition at line 224 of file class.ilAssQuestionList.php.
References $excludeQuestionIdsFilter.
Referenced by getQuestionIdsFilterExpressions().
Here is the caller graph for this function:
|
private |
Definition at line 335 of file class.ilAssQuestionList.php.
Referenced by getConditionalFilterExpression().
Here is the caller graph for this function:| ilAssQuestionList::getForcedQuestionIds | ( | ) |
Definition at line 317 of file class.ilAssQuestionList.php.
References $forcedQuestionIds.
Referenced by buildQuery().
Here is the caller graph for this function:| ilAssQuestionList::getIncludeQuestionIdsFilter | ( | ) |
Definition at line 219 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 301 of file class.ilAssQuestionList.php.
References $join_obj_data.
|
private |
Definition at line 484 of file class.ilAssQuestionList.php.
Referenced by getConditionalFilterExpression().
Here is the caller graph for this function:| ilAssQuestionList::getParentObjectType | ( | ) |
Definition at line 178 of file class.ilAssQuestionList.php.
References $parentObjType.
|
private |
Definition at line 322 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 168 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 191 of file class.ilAssQuestionList.php.
References $parentObjIdsFilter.
Referenced by getParentObjFilterExpression().
Here is the caller graph for this function:| ilAssQuestionList::getQuestionCompletionStatusFilter | ( | ) |
Definition at line 234 of file class.ilAssQuestionList.php.
References $questionCompletionStatusFilter.
| ilAssQuestionList::getQuestionDataArray | ( | ) |
Definition at line 711 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 453 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 209 of file class.ilAssQuestionList.php.
References $questionInstanceTypeFilter.
Referenced by getQuestionInstanceTypeFilterExpression().
Here is the caller graph for this function:
|
private |
Definition at line 438 of file class.ilAssQuestionList.php.
References getQuestionInstanceTypeFilter(), 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 574 of file class.ilAssQuestionList.php.
References getAnswerStatusActiveId().
Here is the call graph for this function:
|
private |
Definition at line 520 of file class.ilAssQuestionList.php.
References getAnswerStatusActiveId().
Here is the call graph for this function:
|
protected |
| string | $parentType | |
| int | $parentObjId | |
| int | $taxId | |
| int | $taxNode |
Definition at line 421 of file class.ilAssQuestionList.php.
References $parentObjId.
Referenced by getTaxonomyFilterExpressions().
Here is the caller graph for this function:
|
private |
Definition at line 371 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 | ( | $a_comp_id, | |
| $a_item_type, | |||
| $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 730 of file class.ilAssQuestionList.php.
|
private |
Definition at line 693 of file class.ilAssQuestionList.php.
References IL_COMP_MODULE.
Referenced by load().
Here is the caller graph for this function:| ilAssQuestionList::isInList | ( | $questionId | ) |
Definition at line 716 of file class.ilAssQuestionList.php.
| ilAssQuestionList::load | ( | ) |
Definition at line 634 of file class.ilAssQuestionList.php.
References $query, $res, $row, buildQuery(), checkFilters(), ilAssQuestionType\completeMissingPluginName(), isActiveQuestionType(), and loadTaxonomyAssignmentData().
Here is the call graph for this function:
|
private |
Definition at line 663 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 266 of file class.ilAssQuestionList.php.
References $answerStatusActiveId.
| ilAssQuestionList::setAnswerStatusFilter | ( | $answerStatusFilter | ) |
Definition at line 276 of file class.ilAssQuestionList.php.
References $answerStatusFilter.
| ilAssQuestionList::setAvailableTaxonomyIds | ( | $availableTaxonomyIds | ) |
Definition at line 256 of file class.ilAssQuestionList.php.
References $availableTaxonomyIds.
| ilAssQuestionList::setExcludeQuestionIdsFilter | ( | $excludeQuestionIdsFilter | ) |
Definition at line 229 of file class.ilAssQuestionList.php.
References $excludeQuestionIdsFilter.
| ilAssQuestionList::setForcedQuestionIds | ( | $forcedQuestionIds | ) |
| array | $forcedQuestionIds |
Definition at line 309 of file class.ilAssQuestionList.php.
References $forcedQuestionIds.
| ilAssQuestionList::setIncludeQuestionIdsFilter | ( | $questionIdsFilter | ) |
Definition at line 214 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 291 of file class.ilAssQuestionList.php.
| ilAssQuestionList::setParentObjectType | ( | $parentObjType | ) |
Definition at line 183 of file class.ilAssQuestionList.php.
References $parentObjType.
| ilAssQuestionList::setParentObjId | ( | $parentObjId | ) |
Definition at line 173 of file class.ilAssQuestionList.php.
References $parentObjId.
| ilAssQuestionList::setParentObjIdsFilter | ( | $parentObjIdsFilter | ) |
| array | $parentObjIdsFilter |
Definition at line 199 of file class.ilAssQuestionList.php.
References $parentObjIdsFilter.
| ilAssQuestionList::setQuestionCompletionStatusFilter | ( | $questionCompletionStatusFilter | ) |
Definition at line 239 of file class.ilAssQuestionList.php.
References $questionCompletionStatusFilter.
| ilAssQuestionList::setQuestionInstanceTypeFilter | ( | $questionInstanceTypeFilter | ) |
Definition at line 204 of file class.ilAssQuestionList.php.
References $questionInstanceTypeFilter.
|
private |
Definition at line 100 of file class.ilAssQuestionList.php.
Referenced by getAnswerStatusActiveId(), and setAnswerStatusActiveId().
|
private |
Definition at line 133 of file class.ilAssQuestionList.php.
Referenced by getAnswerStatusFilter(), and setAnswerStatusFilter().
|
private |
Definition at line 65 of file class.ilAssQuestionList.php.
Referenced by getAvailableTaxonomyIds(), and setAvailableTaxonomyIds().
|
protected |
Definition at line 23 of file class.ilAssQuestionList.php.
Referenced by __construct().
|
private |
Definition at line 140 of file class.ilAssQuestionList.php.
Referenced by getExcludeQuestionIdsFilter(), and setExcludeQuestionIdsFilter().
|
private |
Definition at line 72 of file class.ilAssQuestionList.php.
|
private |
Definition at line 105 of file class.ilAssQuestionList.php.
Referenced by getForcedQuestionIds(), and setForcedQuestionIds().
|
private |
Definition at line 139 of file class.ilAssQuestionList.php.
Referenced by getIncludeQuestionIdsFilter().
|
protected |
Definition at line 111 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 51 of file class.ilAssQuestionList.php.
Referenced by addTaxonomyFilter(), getParentObjId(), getTaxItems(), loadTaxonomyAssignmentData(), and setParentObjId().
|
private |
Definition at line 44 of file class.ilAssQuestionList.php.
Referenced by getParentObjIdsFilter(), and setParentObjIdsFilter().
|
private |
Definition at line 58 of file class.ilAssQuestionList.php.
Referenced by addTaxonomyFilter(), getParentObjectType(), and setParentObjectType().
|
private |
Definition at line 37 of file class.ilAssQuestionList.php.
Referenced by __construct().
|
private |
Definition at line 145 of file class.ilAssQuestionList.php.
Referenced by getQuestionCompletionStatusFilter(), and setQuestionCompletionStatusFilter().
|
private |
Definition at line 137 of file class.ilAssQuestionList.php.
Referenced by getQuestionInstanceTypeFilter(), and setQuestionInstanceTypeFilter().
|
protected |
Definition at line 152 of file class.ilAssQuestionList.php.
Referenced by getQuestionDataArray().
|
private |
Definition at line 79 of file class.ilAssQuestionList.php.
|
private |
Definition at line 86 of file class.ilAssQuestionList.php.
|
private |
Definition at line 93 of file class.ilAssQuestionList.php.
| const ilAssQuestionList::ANSWER_STATUS_FILTER_ALL_NON_CORRECT = 'allNonCorrect' |
answer status filter value domain
Definition at line 124 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\filterQuestionSelectionCmd(), getAnswerStatusFilterExpressions(), and ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
| const ilAssQuestionList::ANSWER_STATUS_FILTER_NON_ANSWERED_ONLY = 'nonAnswered' |
Definition at line 125 of file class.ilAssQuestionList.php.
Referenced by getAnswerStatusFilterExpressions(), and ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
| const ilAssQuestionList::ANSWER_STATUS_FILTER_WRONG_ANSWERED_ONLY = 'wrongAnswered' |
Definition at line 126 of file class.ilAssQuestionList.php.
Referenced by getAnswerStatusFilterExpressions(), and ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
| const ilAssQuestionList::QUESTION_ANSWER_STATUS_CORRECT_ANSWERED = 'correctAnswered' |
Definition at line 119 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\buildQuestionSetAnswerStatisticRowArray().
| const ilAssQuestionList::QUESTION_ANSWER_STATUS_NON_ANSWERED = 'nonAnswered' |
answer status domain for single questions
Definition at line 117 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\buildQuestionSetAnswerStatisticRowArray().
| const ilAssQuestionList::QUESTION_ANSWER_STATUS_WRONG_ANSWERED = 'wrongAnswered' |
Definition at line 118 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\buildQuestionSetAnswerStatisticRowArray().
| const ilAssQuestionList::QUESTION_COMPLETION_STATUS_BOTH = 'complete/incomplete' |
Definition at line 144 of file class.ilAssQuestionList.php.
| const ilAssQuestionList::QUESTION_COMPLETION_STATUS_COMPLETE = 'complete' |
Definition at line 142 of file class.ilAssQuestionList.php.
| const ilAssQuestionList::QUESTION_COMPLETION_STATUS_INCOMPLETE = 'incomplete' |
Definition at line 143 of file class.ilAssQuestionList.php.
| const ilAssQuestionList::QUESTION_INSTANCE_TYPE_DUPLICATES = 'QST_INSTANCE_TYPE_DUPLICATES' |
Definition at line 136 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerFixedQuestionSetGUI\buildTestPassQuestionList(), ilTestPlayerRandomQuestionSetGUI\buildTestPassQuestionList(), ilTestResultsGUI\executeCommand(), ilTestServiceGUI\getFilteredTestResult(), ilLOTestQuestionAdapter\getQuestionData(), ilTestQuestionBrowserTableGUI\getQuestionInstanceTypeFilter(), getQuestionInstanceTypeFilterExpression(), and ilTestSkillAdministrationGUI\getRequiredQuestionInstanceTypeFilter().
| const ilAssQuestionList::QUESTION_INSTANCE_TYPE_ORIGINALS = 'QST_INSTANCE_TYPE_ORIGINALS' |
Definition at line 135 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\buildTestPassQuestionList(), ilTestResultsGUI\executeCommand(), ilQuestionPoolSkillAdministrationGUI\executeCommand(), ilTestQuestionBrowserTableGUI\getQuestionInstanceTypeFilter(), getQuestionInstanceTypeFilterExpression(), and ilTestSkillAdministrationGUI\getRequiredQuestionInstanceTypeFilter().