ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
__construct (ilDB $db, ilLanguage $lng, ilPluginAdmin $pluginAdmin, $parentObjId) | |
Constructor. | |
addFieldFilter ($fieldName, $fieldValue) | |
addTaxonomyFilter ($taxId, $taxNodes) | |
setAvailableTaxonomyIds ($availableTaxonomyIds) | |
getAvailableTaxonomyIds () | |
setAnswerStatusActiveId ($answerStatusActiveId) | |
getAnswerStatusActiveId () | |
setAnswerStatusFilter ($answerStatusFilter) | |
getAnswerStatusFilter () | |
setForcedQuestionIds ($forcedQuestionIds) | |
getForcedQuestionIds () | |
load () | |
getQuestionDataArray () | |
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' |
Private Member Functions | |
getFieldFilterExpressions () | |
getTaxonomyFilterExpressions () | |
getAnswerStatusFilterExpressions () | |
getTableJoinExpression () | |
getConditionalFilterExpression () | |
getSelectFieldsExpression () | |
buildBasicQuery () | |
buildQuery () | |
loadTaxonomyAssignmentData ($questionId) | |
isActiveQuestionType ($questionData) | |
checkFilters () |
Private Attributes | |
$db = null | |
$lng = null | |
$pluginAdmin = null | |
$parentObjId = null | |
$availableTaxonomyIds = array() | |
$fieldFilters = array() | |
$taxFilters = array() | |
$answerStatusActiveId = null | |
$forcedQuestionIds = array() | |
$answerStatusFilter = null | |
$questions = array() |
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 112 of file class.ilAssQuestionList.php.
References $db, $lng, $parentObjId, and $pluginAdmin.
ilAssQuestionList::addFieldFilter | ( | $fieldName, | |
$fieldValue | |||
) |
Definition at line 120 of file class.ilAssQuestionList.php.
ilAssQuestionList::addTaxonomyFilter | ( | $taxId, | |
$taxNodes | |||
) |
Definition at line 125 of file class.ilAssQuestionList.php.
Referenced by ilObjQuestionPoolGUI\buildQuestionBrowserTableGUI().
|
private |
Definition at line 329 of file class.ilAssQuestionList.php.
Referenced by buildQuery().
|
private |
Definition at line 344 of file class.ilAssQuestionList.php.
References $query, buildBasicQuery(), and getForcedQuestionIds().
Referenced by load().
|
private |
Definition at line 465 of file class.ilAssQuestionList.php.
References getAnswerStatusActiveId(), and getAnswerStatusFilter().
Referenced by load().
ilAssQuestionList::getAnswerStatusActiveId | ( | ) |
Definition at line 145 of file class.ilAssQuestionList.php.
References $answerStatusActiveId.
Referenced by checkFilters(), getSelectFieldsExpression(), and getTableJoinExpression().
ilAssQuestionList::getAnswerStatusFilter | ( | ) |
Definition at line 155 of file class.ilAssQuestionList.php.
References $answerStatusFilter.
Referenced by checkFilters(), and getAnswerStatusFilterExpressions().
|
private |
Definition at line 242 of file class.ilAssQuestionList.php.
References getAnswerStatusFilter().
Referenced by getConditionalFilterExpression().
ilAssQuestionList::getAvailableTaxonomyIds | ( | ) |
Definition at line 135 of file class.ilAssQuestionList.php.
References $availableTaxonomyIds.
Referenced by loadTaxonomyAssignmentData().
|
private |
Definition at line 289 of file class.ilAssQuestionList.php.
References getAnswerStatusFilterExpressions(), getFieldFilterExpressions(), and getTaxonomyFilterExpressions().
|
private |
Definition at line 176 of file class.ilAssQuestionList.php.
Referenced by getConditionalFilterExpression().
ilAssQuestionList::getForcedQuestionIds | ( | ) |
Definition at line 171 of file class.ilAssQuestionList.php.
References $forcedQuestionIds.
Referenced by buildQuery().
ilAssQuestionList::getQuestionDataArray | ( | ) |
Definition at line 436 of file class.ilAssQuestionList.php.
References $questions.
Referenced by ilTestDynamicQuestionSet\getQuestionSequenceStructuredByTaxonomy(), and ilTestDynamicQuestionSet\getQuestionSequenceStructuredByUpdateDate().
|
private |
Definition at line 302 of file class.ilAssQuestionList.php.
References getAnswerStatusActiveId().
|
private |
Definition at line 270 of file class.ilAssQuestionList.php.
References getAnswerStatusActiveId().
|
private |
Definition at line 201 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 450 of file class.ilAssQuestionList.php.
|
private |
Definition at line 421 of file class.ilAssQuestionList.php.
References IL_COMP_MODULE.
Referenced by load().
ilAssQuestionList::load | ( | ) |
Definition at line 361 of file class.ilAssQuestionList.php.
References $query, $res, $row, buildQuery(), checkFilters(), isActiveQuestionType(), and loadTaxonomyAssignmentData().
Referenced by ilObjQuestionPoolTaxonomyEditingCommandForwarder\forward().
|
private |
Definition at line 388 of file class.ilAssQuestionList.php.
References getAvailableTaxonomyIds().
Referenced by load().
ilAssQuestionList::setAnswerStatusActiveId | ( | $answerStatusActiveId | ) |
Definition at line 140 of file class.ilAssQuestionList.php.
References $answerStatusActiveId.
Referenced by ilTestDynamicQuestionSet\initCompleteQuestionList(), and ilTestDynamicQuestionSet\initFilteredQuestionList().
ilAssQuestionList::setAnswerStatusFilter | ( | $answerStatusFilter | ) |
Definition at line 150 of file class.ilAssQuestionList.php.
References $answerStatusFilter.
ilAssQuestionList::setAvailableTaxonomyIds | ( | $availableTaxonomyIds | ) |
Definition at line 130 of file class.ilAssQuestionList.php.
References $availableTaxonomyIds.
ilAssQuestionList::setForcedQuestionIds | ( | $forcedQuestionIds | ) |
array | $forcedQuestionIds |
Definition at line 163 of file class.ilAssQuestionList.php.
References $forcedQuestionIds.
|
private |
Definition at line 71 of file class.ilAssQuestionList.php.
Referenced by getAnswerStatusActiveId(), and setAnswerStatusActiveId().
|
private |
Definition at line 97 of file class.ilAssQuestionList.php.
Referenced by getAnswerStatusFilter(), and setAnswerStatusFilter().
|
private |
Definition at line 50 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 57 of file class.ilAssQuestionList.php.
|
private |
Definition at line 76 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 36 of file class.ilAssQuestionList.php.
Referenced by __construct().
|
private |
Definition at line 104 of file class.ilAssQuestionList.php.
Referenced by getQuestionDataArray().
|
private |
Definition at line 64 of file class.ilAssQuestionList.php.
const ilAssQuestionList::ANSWER_STATUS_FILTER_ALL_NON_CORRECT = 'allNonCorrect' |
answer status filter value domain
Definition at line 88 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\filterQuestionSelectionCmd(), and ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
const ilAssQuestionList::ANSWER_STATUS_FILTER_NON_ANSWERED_ONLY = 'nonAnswered' |
Definition at line 89 of file class.ilAssQuestionList.php.
Referenced by ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
const ilAssQuestionList::ANSWER_STATUS_FILTER_WRONG_ANSWERED_ONLY = 'wrongAnswered' |
Definition at line 90 of file class.ilAssQuestionList.php.
Referenced by ilTestDynamicQuestionSetStatisticTableGUI\initFilter().
const ilAssQuestionList::QUESTION_ANSWER_STATUS_CORRECT_ANSWERED = 'correctAnswered' |
Definition at line 83 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 81 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\buildQuestionSetAnswerStatisticRowArray().
const ilAssQuestionList::QUESTION_ANSWER_STATUS_WRONG_ANSWERED = 'wrongAnswered' |
Definition at line 82 of file class.ilAssQuestionList.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\buildQuestionSetAnswerStatisticRowArray().