ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 611 of file class.ilAssQuestionList.php.
Referenced by buildQuery().
|
private |
Definition at line 624 of file class.ilAssQuestionList.php.
References $query, buildBasicQuery(), and getForcedQuestionIds().
Referenced by load().
|
private |
Definition at line 759 of file class.ilAssQuestionList.php.
References getAnswerStatusActiveId(), and getAnswerStatusFilter().
Referenced by load().
ilAssQuestionList::getAnswerStatusActiveId | ( | ) |
Definition at line 271 of file class.ilAssQuestionList.php.
References $answerStatusActiveId.
Referenced by checkFilters(), getSelectFieldsExpression(), and getTableJoinExpression().
ilAssQuestionList::getAnswerStatusFilter | ( | ) |
Definition at line 281 of file class.ilAssQuestionList.php.
References $answerStatusFilter.
Referenced by checkFilters(), and getAnswerStatusFilterExpressions().
|
private |
Definition at line 492 of file class.ilAssQuestionList.php.
References array, and getAnswerStatusFilter().
Referenced by getConditionalFilterExpression().
ilAssQuestionList::getAvailableTaxonomyIds | ( | ) |
Definition at line 261 of file class.ilAssQuestionList.php.
References $availableTaxonomyIds.
Referenced by loadTaxonomyAssignmentData().
|
private |
Definition at line 547 of file class.ilAssQuestionList.php.
References array, 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 224 of file class.ilAssQuestionList.php.
References $excludeQuestionIdsFilter.
Referenced by getQuestionIdsFilterExpressions().
|
private |
Definition at line 337 of file class.ilAssQuestionList.php.
References array.
Referenced by getConditionalFilterExpression().
ilAssQuestionList::getForcedQuestionIds | ( | ) |
Definition at line 317 of file class.ilAssQuestionList.php.
References $forcedQuestionIds.
Referenced by buildQuery().
ilAssQuestionList::getIncludeQuestionIdsFilter | ( | ) |
Definition at line 219 of file class.ilAssQuestionList.php.
References $includeQuestionIdsFilter.
Referenced by getQuestionIdsFilterExpressions().
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 482 of file class.ilAssQuestionList.php.
Referenced by getConditionalFilterExpression().
ilAssQuestionList::getParentObjectType | ( | ) |
|
private |
Definition at line 322 of file class.ilAssQuestionList.php.
References getParentObjId(), and getParentObjIdsFilter().
Referenced by getConditionalFilterExpression().
ilAssQuestionList::getParentObjId | ( | ) |
Definition at line 168 of file class.ilAssQuestionList.php.
References $parentObjId.
Referenced by getParentObjFilterExpression(), and ilTestSkillEvaluation\init().
ilAssQuestionList::getParentObjIdsFilter | ( | ) |
Definition at line 191 of file class.ilAssQuestionList.php.
References $parentObjIdsFilter.
Referenced by getParentObjFilterExpression().
ilAssQuestionList::getQuestionCompletionStatusFilter | ( | ) |
Definition at line 234 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 457 of file class.ilAssQuestionList.php.
References array, getExcludeQuestionIdsFilter(), and getIncludeQuestionIdsFilter().
Referenced by getConditionalFilterExpression().
ilAssQuestionList::getQuestionInstanceTypeFilter | ( | ) |
Definition at line 209 of file class.ilAssQuestionList.php.
References $questionInstanceTypeFilter.
Referenced by getQuestionInstanceTypeFilterExpression().
|
private |
Definition at line 441 of file class.ilAssQuestionList.php.
References getQuestionInstanceTypeFilter().
Referenced by getConditionalFilterExpression().
|
private |
Definition at line 578 of file class.ilAssQuestionList.php.
References array, and getAnswerStatusActiveId().
|
private |
Definition at line 520 of file class.ilAssQuestionList.php.
References getAnswerStatusActiveId().
|
protected |
string | $parentType | |
int | $parentObjId | |
int | $taxId | |
int | $taxNode |
Definition at line 427 of file class.ilAssQuestionList.php.
References $parentObjId.
Referenced by getTaxonomyFilterExpressions().
|
private |
Definition at line 377 of file class.ilAssQuestionList.php.
References array, and 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 705 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 641 of file class.ilAssQuestionList.php.
References $query, $res, $row, buildQuery(), checkFilters(), ilAssQuestionType\completeMissingPluginName(), isActiveQuestionType(), and loadTaxonomyAssignmentData().
|
private |
Definition at line 672 of file class.ilAssQuestionList.php.
References $parentObjId, array, and getAvailableTaxonomyIds().
Referenced by load().
ilAssQuestionList::setAnswerStatusActiveId | ( | $answerStatusActiveId | ) |
Definition at line 266 of file class.ilAssQuestionList.php.
References $answerStatusActiveId.
ilAssQuestionList::setAnswerStatusFilter | ( | $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 | ) |
ilAssQuestionList::setParentObjId | ( | $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(), and ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
const ilAssQuestionList::ANSWER_STATUS_FILTER_NON_ANSWERED_ONLY = 'nonAnswered' |
Definition at line 125 of file class.ilAssQuestionList.php.
Referenced by ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
const ilAssQuestionList::ANSWER_STATUS_FILTER_WRONG_ANSWERED_ONLY = 'wrongAnswered' |
Definition at line 126 of file class.ilAssQuestionList.php.
Referenced by 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(), ilObjTestGUI\executeCommand(), ilTestServiceGUI\getFilteredTestResult(), ilLOTestQuestionAdapter\getQuestionData(), ilTestQuestionBrowserTableGUI\getQuestionInstanceTypeFilter(), 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(), ilObjTestGUI\executeCommand(), ilQuestionPoolSkillAdministrationGUI\executeCommand(), ilTestQuestionBrowserTableGUI\getQuestionInstanceTypeFilter(), and ilTestSkillAdministrationGUI\getRequiredQuestionInstanceTypeFilter().