ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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 | |
$db = null | |
$refinery | |
$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 18 of file class.ilAssQuestionList.php.
ilAssQuestionList::__construct | ( | ilDBInterface | $db, |
ilLanguage | $lng, | ||
ILIAS\Refinery\Factory | $refinery, | ||
ilPluginAdmin | $pluginAdmin | ||
) |
Definition at line 163 of file class.ilAssQuestionList.php.
References $db, $lng, $pluginAdmin, and $refinery.
ilAssQuestionList::addFieldFilter | ( | $fieldName, | |
$fieldValue | |||
) |
Definition at line 251 of file class.ilAssQuestionList.php.
ilAssQuestionList::addTaxonomyFilter | ( | $taxId, | |
$taxNodes, | |||
$parentObjId, | |||
$parentObjType | |||
) |
Definition at line 256 of file class.ilAssQuestionList.php.
References $parentObjId, and $parentObjType.
|
private |
Definition at line 621 of file class.ilAssQuestionList.php.
Referenced by buildQuery().
|
private |
Definition at line 634 of file class.ilAssQuestionList.php.
References $query, buildBasicQuery(), and getForcedQuestionIds().
Referenced by load().
|
private |
Definition at line 757 of file class.ilAssQuestionList.php.
References getAnswerStatusActiveId(), and getAnswerStatusFilter().
Referenced by load().
ilAssQuestionList::getAnswerStatusActiveId | ( | ) |
Definition at line 278 of file class.ilAssQuestionList.php.
References $answerStatusActiveId.
Referenced by checkFilters(), getSelectFieldsExpression(), and getTableJoinExpression().
ilAssQuestionList::getAnswerStatusFilter | ( | ) |
Definition at line 288 of file class.ilAssQuestionList.php.
References $answerStatusFilter.
Referenced by checkFilters(), and getAnswerStatusFilterExpressions().
|
private |
Definition at line 501 of file class.ilAssQuestionList.php.
References getAnswerStatusFilter().
Referenced by getConditionalFilterExpression().
ilAssQuestionList::getAvailableTaxonomyIds | ( | ) |
Definition at line 268 of file class.ilAssQuestionList.php.
References $availableTaxonomyIds.
Referenced by loadTaxonomyAssignmentData().
|
private |
Definition at line 561 of file class.ilAssQuestionList.php.
References getAnswerStatusFilterExpressions(), getFieldFilterExpressions(), getParentObjectIdFilterExpression(), getParentObjFilterExpression(), getQuestionIdsFilterExpressions(), getQuestionInstanceTypeFilterExpression(), and getTaxonomyFilterExpressions().
ilAssQuestionList::getDataArrayForQuestionId | ( | $questionId | ) |
Definition at line 720 of file class.ilAssQuestionList.php.
ilAssQuestionList::getExcludeQuestionIdsFilter | ( | ) |
Definition at line 231 of file class.ilAssQuestionList.php.
References $excludeQuestionIdsFilter.
Referenced by getQuestionIdsFilterExpressions().
|
private |
Definition at line 342 of file class.ilAssQuestionList.php.
Referenced by getConditionalFilterExpression().
ilAssQuestionList::getForcedQuestionIds | ( | ) |
Definition at line 324 of file class.ilAssQuestionList.php.
References $forcedQuestionIds.
Referenced by buildQuery().
ilAssQuestionList::getIncludeQuestionIdsFilter | ( | ) |
Definition at line 226 of file class.ilAssQuestionList.php.
References $includeQuestionIdsFilter.
Referenced by getQuestionIdsFilterExpressions().
ilAssQuestionList::getJoinObjectData | ( | ) |
Get if object data table should be joined.
Definition at line 308 of file class.ilAssQuestionList.php.
References $join_obj_data.
|
private |
Definition at line 492 of file class.ilAssQuestionList.php.
Referenced by getConditionalFilterExpression().
ilAssQuestionList::getParentObjectType | ( | ) |
Definition at line 185 of file class.ilAssQuestionList.php.
References $parentObjType.
Referenced by getTableJoinExpression().
|
private |
Definition at line 329 of file class.ilAssQuestionList.php.
References getParentObjId(), and getParentObjIdsFilter().
Referenced by getConditionalFilterExpression().
ilAssQuestionList::getParentObjId | ( | ) |
Definition at line 175 of file class.ilAssQuestionList.php.
References $parentObjId.
Referenced by getParentObjFilterExpression(), and ilTestSkillEvaluation\init().
ilAssQuestionList::getParentObjIdsFilter | ( | ) |
Definition at line 198 of file class.ilAssQuestionList.php.
References $parentObjIdsFilter.
Referenced by getParentObjFilterExpression().
ilAssQuestionList::getQuestionCompletionStatusFilter | ( | ) |
Definition at line 241 of file class.ilAssQuestionList.php.
References $questionCompletionStatusFilter.
ilAssQuestionList::getQuestionDataArray | ( | ) |
Definition at line 725 of file class.ilAssQuestionList.php.
References $questions.
Referenced by ilTestDynamicQuestionSet\getQuestionSequenceStructuredByTaxonomy(), ilTestDynamicQuestionSet\getQuestionSequenceStructuredByUpdateDate(), and ilTestSkillEvaluation\initTestQuestionData().
|
private |
Definition at line 461 of file class.ilAssQuestionList.php.
References getExcludeQuestionIdsFilter(), and getIncludeQuestionIdsFilter().
Referenced by getConditionalFilterExpression().
ilAssQuestionList::getQuestionInstanceTypeFilter | ( | ) |
Definition at line 216 of file class.ilAssQuestionList.php.
References $questionInstanceTypeFilter.
Referenced by getQuestionInstanceTypeFilterExpression(), and getTableJoinExpression().
|
private |
Definition at line 446 of file class.ilAssQuestionList.php.
References getQuestionInstanceTypeFilter().
Referenced by getConditionalFilterExpression().
|
private |
Definition at line 590 of file class.ilAssQuestionList.php.
References getAnswerStatusActiveId().
|
private |
Definition at line 528 of file class.ilAssQuestionList.php.
References getAnswerStatusActiveId(), getParentObjectType(), and getQuestionInstanceTypeFilter().
|
protected |
string | $parentType | |
int | $parentObjId | |
int | $taxId | |
int | $taxNode |
Definition at line 429 of file class.ilAssQuestionList.php.
References $parentObjId.
Referenced by getTaxonomyFilterExpressions().
|
private |
Definition at line 379 of file class.ilAssQuestionList.php.
References getTaxItems().
Referenced by getConditionalFilterExpression().
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 744 of file class.ilAssQuestionList.php.
|
private |
Definition at line 707 of file class.ilAssQuestionList.php.
References IL_COMP_MODULE.
Referenced by load().
ilAssQuestionList::isInList | ( | $questionId | ) |
Definition at line 730 of file class.ilAssQuestionList.php.
ilAssQuestionList::load | ( | ) |
Definition at line 650 of file class.ilAssQuestionList.php.
References $query, $res, buildQuery(), checkFilters(), ilAssQuestionType\completeMissingPluginName(), isActiveQuestionType(), and loadTaxonomyAssignmentData().
|
private |
Definition at line 677 of file class.ilAssQuestionList.php.
References $parentObjId, and getAvailableTaxonomyIds().
Referenced by load().
ilAssQuestionList::setAnswerStatusActiveId | ( | $answerStatusActiveId | ) |
Definition at line 273 of file class.ilAssQuestionList.php.
References $answerStatusActiveId.
ilAssQuestionList::setAnswerStatusFilter | ( | $answerStatusFilter | ) |
ilAssQuestionList::setAvailableTaxonomyIds | ( | $availableTaxonomyIds | ) |
Definition at line 263 of file class.ilAssQuestionList.php.
References $availableTaxonomyIds.
ilAssQuestionList::setExcludeQuestionIdsFilter | ( | $excludeQuestionIdsFilter | ) |
Definition at line 236 of file class.ilAssQuestionList.php.
References $excludeQuestionIdsFilter.
ilAssQuestionList::setForcedQuestionIds | ( | $forcedQuestionIds | ) |
array | $forcedQuestionIds |
Definition at line 316 of file class.ilAssQuestionList.php.
References $forcedQuestionIds.
ilAssQuestionList::setIncludeQuestionIdsFilter | ( | $questionIdsFilter | ) |
Definition at line 221 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 298 of file class.ilAssQuestionList.php.
ilAssQuestionList::setParentObjectType | ( | $parentObjType | ) |
ilAssQuestionList::setParentObjId | ( | $parentObjId | ) |
Definition at line 180 of file class.ilAssQuestionList.php.
References $parentObjId.
Referenced by ilTestResultsGUI\executeCommand(), and ilCopySelfAssQuestionTableGUI\getQuestions().
ilAssQuestionList::setParentObjIdsFilter | ( | $parentObjIdsFilter | ) |
array | $parentObjIdsFilter |
Definition at line 206 of file class.ilAssQuestionList.php.
References $parentObjIdsFilter.
Referenced by ilAsqFactory\getQuestionDataArray(), and ilAsqFactory\getQuestionInstances().
ilAssQuestionList::setQuestionCompletionStatusFilter | ( | $questionCompletionStatusFilter | ) |
Definition at line 246 of file class.ilAssQuestionList.php.
References $questionCompletionStatusFilter.
ilAssQuestionList::setQuestionInstanceTypeFilter | ( | $questionInstanceTypeFilter | ) |
Definition at line 211 of file class.ilAssQuestionList.php.
References $questionInstanceTypeFilter.
|
private |
Definition at line 107 of file class.ilAssQuestionList.php.
Referenced by getAnswerStatusActiveId(), and setAnswerStatusActiveId().
|
private |
Definition at line 140 of file class.ilAssQuestionList.php.
Referenced by getAnswerStatusFilter(), and setAnswerStatusFilter().
|
private |
Definition at line 72 of file class.ilAssQuestionList.php.
Referenced by getAvailableTaxonomyIds(), and setAvailableTaxonomyIds().
|
protected |
Definition at line 25 of file class.ilAssQuestionList.php.
Referenced by __construct().
|
private |
Definition at line 149 of file class.ilAssQuestionList.php.
Referenced by getExcludeQuestionIdsFilter(), and setExcludeQuestionIdsFilter().
|
private |
Definition at line 79 of file class.ilAssQuestionList.php.
|
private |
Definition at line 112 of file class.ilAssQuestionList.php.
Referenced by getForcedQuestionIds(), and setForcedQuestionIds().
|
private |
Definition at line 148 of file class.ilAssQuestionList.php.
Referenced by getIncludeQuestionIdsFilter().
|
protected |
Definition at line 118 of file class.ilAssQuestionList.php.
Referenced by getJoinObjectData().
|
private |
Definition at line 32 of file class.ilAssQuestionList.php.
Referenced by __construct().
|
private |
Definition at line 58 of file class.ilAssQuestionList.php.
Referenced by addTaxonomyFilter(), getParentObjId(), getTaxItems(), loadTaxonomyAssignmentData(), and setParentObjId().
|
private |
Definition at line 51 of file class.ilAssQuestionList.php.
Referenced by getParentObjIdsFilter(), and setParentObjIdsFilter().
|
private |
Definition at line 65 of file class.ilAssQuestionList.php.
Referenced by addTaxonomyFilter(), getParentObjectType(), and setParentObjectType().
|
private |
Definition at line 39 of file class.ilAssQuestionList.php.
Referenced by __construct().
|
private |
Definition at line 154 of file class.ilAssQuestionList.php.
Referenced by getQuestionCompletionStatusFilter(), and setQuestionCompletionStatusFilter().
|
private |
Definition at line 146 of file class.ilAssQuestionList.php.
Referenced by getQuestionInstanceTypeFilter(), and setQuestionInstanceTypeFilter().
|
protected |
Definition at line 161 of file class.ilAssQuestionList.php.
Referenced by getQuestionDataArray().
|
protected |
Definition at line 44 of file class.ilAssQuestionList.php.
Referenced by __construct().
|
private |
Definition at line 86 of file class.ilAssQuestionList.php.
|
private |
Definition at line 93 of file class.ilAssQuestionList.php.
|
private |
Definition at line 100 of file class.ilAssQuestionList.php.
const ilAssQuestionList::ANSWER_STATUS_FILTER_ALL_NON_CORRECT = 'allNonCorrect' |
answer status filter value domain
Definition at line 131 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\filterQuestionSelectionCmd(), and ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
const ilAssQuestionList::ANSWER_STATUS_FILTER_NON_ANSWERED_ONLY = 'nonAnswered' |
Definition at line 132 of file class.ilAssQuestionList.php.
Referenced by ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
const ilAssQuestionList::ANSWER_STATUS_FILTER_WRONG_ANSWERED_ONLY = 'wrongAnswered' |
Definition at line 133 of file class.ilAssQuestionList.php.
Referenced by ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
const ilAssQuestionList::QUESTION_ANSWER_STATUS_CORRECT_ANSWERED = 'correctAnswered' |
Definition at line 126 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 124 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\buildQuestionSetAnswerStatisticRowArray().
const ilAssQuestionList::QUESTION_ANSWER_STATUS_WRONG_ANSWERED = 'wrongAnswered' |
Definition at line 125 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\buildQuestionSetAnswerStatisticRowArray().
const ilAssQuestionList::QUESTION_COMPLETION_STATUS_BOTH = 'complete/incomplete' |
Definition at line 153 of file class.ilAssQuestionList.php.
const ilAssQuestionList::QUESTION_COMPLETION_STATUS_COMPLETE = 'complete' |
Definition at line 151 of file class.ilAssQuestionList.php.
const ilAssQuestionList::QUESTION_COMPLETION_STATUS_INCOMPLETE = 'incomplete' |
Definition at line 152 of file class.ilAssQuestionList.php.
const ilAssQuestionList::QUESTION_INSTANCE_TYPE_ALL = 'QST_INSTANCE_TYPE_ALL' |
Definition at line 144 of file class.ilAssQuestionList.php.
Referenced by ilTestQuestionBrowserTableGUI\getQuestionInstanceTypeFilter().
const ilAssQuestionList::QUESTION_INSTANCE_TYPE_DUPLICATES = 'QST_INSTANCE_TYPE_DUPLICATES' |
Definition at line 143 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerFixedQuestionSetGUI\buildTestPassQuestionList(), ilTestPlayerRandomQuestionSetGUI\buildTestPassQuestionList(), ilTestResultsGUI\executeCommand(), ilTestServiceGUI\getFilteredTestResult(), ilLOTestQuestionAdapter\getQuestionData(), and ilTestSkillAdministrationGUI\getRequiredQuestionInstanceTypeFilter().
const ilAssQuestionList::QUESTION_INSTANCE_TYPE_ORIGINALS = 'QST_INSTANCE_TYPE_ORIGINALS' |
Definition at line 142 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\buildTestPassQuestionList(), ilQuestionPoolSkillAdministrationGUI\executeCommand(), ilTestResultsGUI\executeCommand(), ilTestQuestionBrowserTableGUI\getQuestionInstanceTypeFilter(), and ilTestSkillAdministrationGUI\getRequiredQuestionInstanceTypeFilter().