ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
__construct (ilDB $db, ilLanguage $lng, ilPluginAdmin $pluginAdmin, $parentObjId) | |
Constructor. | |
setParentObjectType ($parentObjType) | |
getParentObjectType () | |
setQuestionInstanceTypeFilter ($questionInstanceTypeFilter) | |
getQuestionInstanceTypeFilter () | |
setQuestionIdsFilter ($questionIdsFilter) | |
getQuestionIdsFilter () | |
addFieldFilter ($fieldName, $fieldValue) | |
addTaxonomyFilter ($taxId, $taxNodes) | |
setAvailableTaxonomyIds ($availableTaxonomyIds) | |
getAvailableTaxonomyIds () | |
setAnswerStatusActiveId ($answerStatusActiveId) | |
getAnswerStatusActiveId () | |
setAnswerStatusFilter ($answerStatusFilter) | |
getAnswerStatusFilter () | |
setForcedQuestionIds ($forcedQuestionIds) | |
getForcedQuestionIds () | |
load () | |
getQuestionDataArray () | |
isInList ($questionId) | |
getTitle ($a_comp_id, $a_item_type, $a_item_id) | |
Get title of an assigned item. |
Data Fields | |
const | QUESTION_ANSWER_STATUS_NON_ANSWERED = 'nonAnswered' |
answer status domain for single questions | |
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 | |
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' |
Private Member Functions | |
getFieldFilterExpressions () | |
getTaxonomyFilterExpressions () | |
getQuestionInstanceTypeFilterExpression () | |
getQuestionIdsFilterExpression () | |
getParentObjectIdFilterExpression () | |
getAnswerStatusFilterExpressions () | |
getTableJoinExpression () | |
getConditionalFilterExpression () | |
getSelectFieldsExpression () | |
buildBasicQuery () | |
buildQuery () | |
loadTaxonomyAssignmentData ($questionId) | |
isActiveQuestionType ($questionData) | |
checkFilters () |
Private Attributes | |
$db = null | |
$lng = null | |
$pluginAdmin = null | |
$parentObjId = null | |
$parentObjType = 'qpl' | |
$availableTaxonomyIds = array() | |
$fieldFilters = array() | |
$taxFilters = array() | |
$answerStatusActiveId = null | |
$forcedQuestionIds = array() | |
$answerStatusFilter = null | |
$questions = array() | |
$questionInstanceTypeFilter = self::QUESTION_INSTANCE_TYPE_ORIGINALS | |
$questionIdsFilter = null |
Definition at line 15 of file class.ilAssQuestionList.php.
ilAssQuestionList::__construct | ( | ilDB | $db, |
ilLanguage | $lng, | ||
ilPluginAdmin | $pluginAdmin, | ||
$parentObjId | |||
) |
Constructor.
ilDB | $db | |
integer | $parentObjId |
Definition at line 121 of file class.ilAssQuestionList.php.
References $db, $lng, $parentObjId, and $pluginAdmin.
ilAssQuestionList::addFieldFilter | ( | $fieldName, | |
$fieldValue | |||
) |
Definition at line 159 of file class.ilAssQuestionList.php.
ilAssQuestionList::addTaxonomyFilter | ( | $taxId, | |
$taxNodes | |||
) |
Definition at line 164 of file class.ilAssQuestionList.php.
Referenced by ilObjQuestionPoolGUI\buildQuestionBrowserTableGUI().
|
private |
Definition at line 429 of file class.ilAssQuestionList.php.
Referenced by buildQuery().
|
private |
Definition at line 442 of file class.ilAssQuestionList.php.
References $query, buildBasicQuery(), and getForcedQuestionIds().
Referenced by load().
|
private |
Definition at line 570 of file class.ilAssQuestionList.php.
References getAnswerStatusActiveId(), and getAnswerStatusFilter().
Referenced by load().
ilAssQuestionList::getAnswerStatusActiveId | ( | ) |
Definition at line 184 of file class.ilAssQuestionList.php.
References $answerStatusActiveId.
Referenced by checkFilters(), getSelectFieldsExpression(), and getTableJoinExpression().
ilAssQuestionList::getAnswerStatusFilter | ( | ) |
Definition at line 194 of file class.ilAssQuestionList.php.
References $answerStatusFilter.
Referenced by checkFilters(), and getAnswerStatusFilterExpressions().
|
private |
Definition at line 325 of file class.ilAssQuestionList.php.
References getAnswerStatusFilter().
Referenced by getConditionalFilterExpression().
ilAssQuestionList::getAvailableTaxonomyIds | ( | ) |
Definition at line 174 of file class.ilAssQuestionList.php.
References $availableTaxonomyIds.
Referenced by loadTaxonomyAssignmentData().
|
private |
Definition at line 372 of file class.ilAssQuestionList.php.
References getAnswerStatusFilterExpressions(), getFieldFilterExpressions(), getParentObjectIdFilterExpression(), getQuestionIdsFilterExpression(), getQuestionInstanceTypeFilterExpression(), and getTaxonomyFilterExpressions().
|
private |
Definition at line 215 of file class.ilAssQuestionList.php.
Referenced by getConditionalFilterExpression().
ilAssQuestionList::getForcedQuestionIds | ( | ) |
Definition at line 210 of file class.ilAssQuestionList.php.
References $forcedQuestionIds.
Referenced by buildQuery().
|
private |
Definition at line 315 of file class.ilAssQuestionList.php.
Referenced by getConditionalFilterExpression().
ilAssQuestionList::getParentObjectType | ( | ) |
Definition at line 134 of file class.ilAssQuestionList.php.
References $parentObjType.
ilAssQuestionList::getQuestionDataArray | ( | ) |
Definition at line 536 of file class.ilAssQuestionList.php.
References $questions.
Referenced by ilTestDynamicQuestionSet\getQuestionSequenceStructuredByTaxonomy(), and ilTestDynamicQuestionSet\getQuestionSequenceStructuredByUpdateDate().
ilAssQuestionList::getQuestionIdsFilter | ( | ) |
Definition at line 154 of file class.ilAssQuestionList.php.
References $questionIdsFilter.
Referenced by getQuestionIdsFilterExpression().
|
private |
Definition at line 305 of file class.ilAssQuestionList.php.
References getQuestionIdsFilter().
Referenced by getConditionalFilterExpression().
ilAssQuestionList::getQuestionInstanceTypeFilter | ( | ) |
Definition at line 144 of file class.ilAssQuestionList.php.
References $questionInstanceTypeFilter.
Referenced by getQuestionInstanceTypeFilterExpression().
|
private |
Definition at line 289 of file class.ilAssQuestionList.php.
References getQuestionInstanceTypeFilter().
Referenced by getConditionalFilterExpression().
|
private |
Definition at line 402 of file class.ilAssQuestionList.php.
References getAnswerStatusActiveId().
|
private |
Definition at line 353 of file class.ilAssQuestionList.php.
References getAnswerStatusActiveId().
|
private |
Definition at line 248 of file class.ilAssQuestionList.php.
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 555 of file class.ilAssQuestionList.php.
|
private |
Definition at line 521 of file class.ilAssQuestionList.php.
References IL_COMP_MODULE.
Referenced by load().
ilAssQuestionList::isInList | ( | $questionId | ) |
Definition at line 541 of file class.ilAssQuestionList.php.
ilAssQuestionList::load | ( | ) |
Definition at line 459 of file class.ilAssQuestionList.php.
References $query, $res, $row, buildQuery(), checkFilters(), isActiveQuestionType(), and loadTaxonomyAssignmentData().
Referenced by ilObjQuestionPoolTaxonomyEditingCommandForwarder\forward().
|
private |
Definition at line 488 of file class.ilAssQuestionList.php.
References getAvailableTaxonomyIds().
Referenced by load().
ilAssQuestionList::setAnswerStatusActiveId | ( | $answerStatusActiveId | ) |
Definition at line 179 of file class.ilAssQuestionList.php.
References $answerStatusActiveId.
Referenced by ilTestDynamicQuestionSet\initCompleteQuestionList(), and ilTestDynamicQuestionSet\initFilteredQuestionList().
ilAssQuestionList::setAnswerStatusFilter | ( | $answerStatusFilter | ) |
Definition at line 189 of file class.ilAssQuestionList.php.
References $answerStatusFilter.
ilAssQuestionList::setAvailableTaxonomyIds | ( | $availableTaxonomyIds | ) |
Definition at line 169 of file class.ilAssQuestionList.php.
References $availableTaxonomyIds.
ilAssQuestionList::setForcedQuestionIds | ( | $forcedQuestionIds | ) |
array | $forcedQuestionIds |
Definition at line 202 of file class.ilAssQuestionList.php.
References $forcedQuestionIds.
ilAssQuestionList::setParentObjectType | ( | $parentObjType | ) |
Definition at line 129 of file class.ilAssQuestionList.php.
References $parentObjType.
ilAssQuestionList::setQuestionIdsFilter | ( | $questionIdsFilter | ) |
Definition at line 149 of file class.ilAssQuestionList.php.
References $questionIdsFilter.
ilAssQuestionList::setQuestionInstanceTypeFilter | ( | $questionInstanceTypeFilter | ) |
Definition at line 139 of file class.ilAssQuestionList.php.
References $questionInstanceTypeFilter.
|
private |
Definition at line 73 of file class.ilAssQuestionList.php.
Referenced by getAnswerStatusActiveId(), and setAnswerStatusActiveId().
|
private |
Definition at line 99 of file class.ilAssQuestionList.php.
Referenced by getAnswerStatusFilter(), and setAnswerStatusFilter().
|
private |
Definition at line 52 of file class.ilAssQuestionList.php.
Referenced by getAvailableTaxonomyIds(), and setAvailableTaxonomyIds().
|
private |
Definition at line 22 of file class.ilAssQuestionList.php.
Referenced by __construct().
|
private |
Definition at line 59 of file class.ilAssQuestionList.php.
|
private |
Definition at line 78 of file class.ilAssQuestionList.php.
Referenced by getForcedQuestionIds(), and setForcedQuestionIds().
|
private |
Definition at line 29 of file class.ilAssQuestionList.php.
Referenced by __construct().
|
private |
Definition at line 43 of file class.ilAssQuestionList.php.
Referenced by __construct().
|
private |
Definition at line 45 of file class.ilAssQuestionList.php.
Referenced by getParentObjectType(), and setParentObjectType().
|
private |
Definition at line 36 of file class.ilAssQuestionList.php.
Referenced by __construct().
|
private |
Definition at line 113 of file class.ilAssQuestionList.php.
Referenced by getQuestionIdsFilter(), and setQuestionIdsFilter().
|
private |
Definition at line 111 of file class.ilAssQuestionList.php.
Referenced by getQuestionInstanceTypeFilter(), and setQuestionInstanceTypeFilter().
|
private |
Definition at line 106 of file class.ilAssQuestionList.php.
Referenced by getQuestionDataArray().
|
private |
Definition at line 66 of file class.ilAssQuestionList.php.
const ilAssQuestionList::ANSWER_STATUS_FILTER_ALL_NON_CORRECT = 'allNonCorrect' |
answer status filter value domain
Definition at line 90 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\filterQuestionSelectionCmd(), and ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
const ilAssQuestionList::ANSWER_STATUS_FILTER_NON_ANSWERED_ONLY = 'nonAnswered' |
Definition at line 91 of file class.ilAssQuestionList.php.
Referenced by ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
const ilAssQuestionList::ANSWER_STATUS_FILTER_WRONG_ANSWERED_ONLY = 'wrongAnswered' |
Definition at line 92 of file class.ilAssQuestionList.php.
Referenced by ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
const ilAssQuestionList::QUESTION_ANSWER_STATUS_CORRECT_ANSWERED = 'correctAnswered' |
Definition at line 85 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 83 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\buildQuestionSetAnswerStatisticRowArray().
const ilAssQuestionList::QUESTION_ANSWER_STATUS_WRONG_ANSWERED = 'wrongAnswered' |
Definition at line 84 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\buildQuestionSetAnswerStatisticRowArray().
const ilAssQuestionList::QUESTION_INSTANCE_TYPE_DUPLICATES = 'QST_INSTANCE_TYPE_DUPLICATES' |
Definition at line 110 of file class.ilAssQuestionList.php.
Referenced by ilLOTestQuestionAdapter\getQuestionData().
const ilAssQuestionList::QUESTION_INSTANCE_TYPE_ORIGINALS = 'QST_INSTANCE_TYPE_ORIGINALS' |
Definition at line 109 of file class.ilAssQuestionList.php.