ILIAS
release_4-3 Revision
|
Static Public Member Functions | |
static | requestsExist ($questionId, $activeId, $pass) |
Returns the fact wether there exists hint requests for the given question relating to the given testactive and testpass or not. | |
static | getNumExistingRequests ($questionId, $activeId, $pass) |
Returns the number existing hint requests for the given question relating to the given testactive and testpass or not. | |
static | requestsPossible ($questionId, $activeId, $pass) |
Returns the fact wether (further) hint requests are possible for the given question relating to the given testactive and testpass or not. | |
static | isRequested ($hintId, $activeId, $pass) |
Returns the fact wether the hint for given id is requested for the given testactive and testpass. | |
static | getNextRequestableHint ($questionId, $activeId, $pass) |
Returns the next requestable hint for given question relating to given testactive and testpass. | |
static | getRequestedHintsList ($questionId, $activeId, $pass) |
Returns an object of class ilAssQuestionHintList containing objects of class ilAssQuestionHint for all allready requested hints relating to the given question, testactive and testpass. | |
static | storeRequest (ilAssQuestionHint $questionHint, $questionId, $activeId, $pass) |
Tracks the given hint as requested for the given question, testactive and testpass. | |
static | getRequestStatisticDataByQuestionAndTestpass ($questionId, $activeId, $pass) |
Returns a question hint request statistic data container containing the statistics for all requests relating to given ... | |
static | deleteRequestsByQuestionIds ($questionIds) |
Deletes all hint requests relating to a question included in given question ids. | |
static | deleteRequestsByActiveIds ($activeIds) |
Deletes all hint requests relating to a testactive included in given active ids. |
Definition at line 15 of file class.ilAssQuestionHintTracking.php.
|
static |
Deletes all hint requests relating to a testactive included in given active ids.
public ilDB $ilDB
array[integer] | $activeIds |
Definition at line 360 of file class.ilAssQuestionHintTracking.php.
References $query.
Referenced by ilObjTest\removeAllTestEditings(), ilObjTest\removeTestResults(), and ilObjTest\removeTestResultsForUser().
|
static |
Deletes all hint requests relating to a question included in given question ids.
public ilDB $ilDB
array[integer] | $questionIds |
Definition at line 338 of file class.ilAssQuestionHintTracking.php.
References $query.
Referenced by assQuestion\delete(), and ilObjTest\removeAllTestEditings().
|
static |
Returns the next requestable hint for given question relating to given testactive and testpass.
public ilDB $ilDB
integer | $questionId | |
integer | $activeId | |
integer | $pass |
ilTestException |
Definition at line 171 of file class.ilAssQuestionHintTracking.php.
References $pass, $query, $res, $row, and ilAssQuestionHint\getInstanceById().
Referenced by ilAssQuestionHintRequestGUI\confirmRequestCmd(), and ilAssQuestionHintRequestGUI\performRequestCmd().
|
static |
Returns the number existing hint requests for the given question relating to the given testactive and testpass or not.
public ilDB $ilDB
integer | $questionId | |
integer | $activeId | |
integer | $pass |
Definition at line 51 of file class.ilAssQuestionHintTracking.php.
References $pass, $query, $res, and $row.
Referenced by ilAssQuestionHintRequestGUI\showHintCmd().
|
static |
Returns an object of class ilAssQuestionHintList containing objects of class ilAssQuestionHint for all allready requested hints relating to the given question, testactive and testpass.
public ilDB $ilDB
integer | $questionId | |
integer | $activeId | |
integer | $pass |
Definition at line 220 of file class.ilAssQuestionHintTracking.php.
References $pass, $query, $res, $row, and ilAssQuestionHintList\getListByHintIds().
Referenced by ilAssQuestionHintRequestGUI\showListCmd().
|
static |
Returns a question hint request statistic data container containing the statistics for all requests relating to given ...
public ilDB $ilDB
integer | $questionId | |
integer | $activeId | |
integer | $pass |
Definition at line 292 of file class.ilAssQuestionHintTracking.php.
References $pass, $query, $res, and $row.
Referenced by assQuestion\calculateResultsFromSolution(), and assQuestion\getAdjustedReachedPoints().
|
static |
Returns the fact wether the hint for given id is requested for the given testactive and testpass.
public ilDB $ilDB
integer | $hintId | |
integer | $activeId | |
integer | $pass |
Definition at line 130 of file class.ilAssQuestionHintTracking.php.
References $pass, $query, $res, and $row.
Referenced by ilAssQuestionHintRequestGUI\showHintCmd().
|
static |
Returns the fact wether there exists hint requests for the given question relating to the given testactive and testpass or not.
public ilDB $ilDB
integer | $questionId | |
integer | $activeId | |
integer | $pass |
Definition at line 29 of file class.ilAssQuestionHintTracking.php.
References $pass.
Referenced by ilTestOutputGUI\fillQuestionRelatedNavigation().
|
static |
Returns the fact wether (further) hint requests are possible for the given question relating to the given testactive and testpass or not.
public ilDB $ilDB
integer | $questionId | |
integer | $activeId | |
integer | $pass |
Definition at line 86 of file class.ilAssQuestionHintTracking.php.
References $pass, $query, $res, and $row.
Referenced by ilTestOutputGUI\fillQuestionRelatedNavigation().
|
static |
Tracks the given hint as requested for the given question, testactive and testpass.
public ilDB $ilDB
ilAssQuestionHint | $questionHint | |
integer | $questionId | |
integer | $activeId | |
integer | $pass |
Definition at line 262 of file class.ilAssQuestionHintTracking.php.
References $pass, and ilAssQuestionHint\getId().
Referenced by ilAssQuestionHintRequestGUI\performRequestCmd().