ILIAS
Release_4_4_x_branch Revision 61816
|
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 14 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 359 of file class.ilAssQuestionHintTracking.php.
References $query.
Referenced by ilObjTest\removeAllTestEditings(), ilObjTest\removeTestResultsByActiveIds(), 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 337 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 170 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 50 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 219 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 291 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 129 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 28 of file class.ilAssQuestionHintTracking.php.
References $pass.
Referenced by ilTestPlayerAbstractGUI\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 85 of file class.ilAssQuestionHintTracking.php.
References $pass, $query, $res, and $row.
Referenced by ilTestPlayerAbstractGUI\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 261 of file class.ilAssQuestionHintTracking.php.
References $pass, and ilAssQuestionHint\getId().
Referenced by ilAssQuestionHintRequestGUI\performRequestCmd().