ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
__construct ($questionId, $activeId, $pass) | |
setActiveId ($activeId) | |
getActiveId () | |
setPass ($pass) | |
getPass () | |
setQuestionId ($questionId) | |
getQuestionId () | |
requestsExist () | |
Returns the fact wether there exists hint requests for the given question relating to the given testactive and testpass or not. | |
getNumExistingRequests () | |
Returns the number existing hint requests for the given question relating to the given testactive and testpass or not. | |
requestsPossible () | |
Returns the fact wether (further) hint requests are possible for the given question relating to the given testactive and testpass or not. | |
isRequested ($hintId) | |
Returns the fact wether the hint for given id is requested for the given testactive and testpass. | |
getNextRequestableHint () | |
Returns the next requestable hint for given question relating to given testactive and testpass. | |
getRequestedHintsList () | |
Returns an object of class ilAssQuestionHintList containing objects of class ilAssQuestionHint for all allready requested hints relating to the given question, testactive and testpass. | |
storeRequest (ilAssQuestionHint $questionHint) | |
Tracks the given hint as requested for the given question, testactive and testpass. | |
getRequestStatisticDataByQuestionAndTestpass () | |
Returns a question hint request statistic data container containing the statistics for all requests relating to given ... | |
deleteRequestsByQuestionIds ($questionIds) | |
Deletes all hint requests relating to a question included in given question ids. | |
deleteRequestsByActiveIds ($activeIds) | |
Deletes all hint requests relating to a testactive included in given active ids. |
Private Attributes | |
$questionId | |
$activeId | |
$pass |
Definition at line 14 of file class.ilAssQuestionHintTracking.php.
ilAssQuestionHintTracking::__construct | ( | $questionId, | |
$activeId, | |||
$pass | |||
) |
Definition at line 22 of file class.ilAssQuestionHintTracking.php.
References $activeId, $pass, and $questionId.
ilAssQuestionHintTracking::deleteRequestsByActiveIds | ( | $activeIds | ) |
Deletes all hint requests relating to a testactive included in given active ids.
public ilDB $ilDB
array[integer] | $activeIds |
Definition at line 376 of file class.ilAssQuestionHintTracking.php.
Referenced by ilObjTest\removeAllTestEditings(), ilObjTest\removeTestResultsByActiveIds(), and ilObjTest\removeTestResultsForUser().
ilAssQuestionHintTracking::deleteRequestsByQuestionIds | ( | $questionIds | ) |
Deletes all hint requests relating to a question included in given question ids.
public ilDB $ilDB
array[integer] | $questionIds |
Definition at line 355 of file class.ilAssQuestionHintTracking.php.
Referenced by assQuestion\delete(), and ilObjTest\removeAllTestEditings().
ilAssQuestionHintTracking::getActiveId | ( | ) |
Definition at line 34 of file class.ilAssQuestionHintTracking.php.
References $activeId.
Referenced by getNextRequestableHint(), getNumExistingRequests(), getRequestedHintsList(), getRequestStatisticDataByQuestionAndTestpass(), isRequested(), requestsExist(), requestsPossible(), and storeRequest().
ilAssQuestionHintTracking::getNextRequestableHint | ( | ) |
Returns the next requestable hint for given question relating to given testactive and testpass.
public ilDB $ilDB
ilTestException |
Definition at line 196 of file class.ilAssQuestionHintTracking.php.
References $ilDB, $query, $res, $row, getActiveId(), ilAssQuestionHint\getInstanceById(), getPass(), and getQuestionId().
ilAssQuestionHintTracking::getNumExistingRequests | ( | ) |
Returns the number existing hint requests for the given question relating to the given testactive and testpass or not.
public ilDB $ilDB
Definition at line 85 of file class.ilAssQuestionHintTracking.php.
References $ilDB, $query, $res, $row, getActiveId(), getPass(), and getQuestionId().
ilAssQuestionHintTracking::getPass | ( | ) |
Definition at line 44 of file class.ilAssQuestionHintTracking.php.
References $pass.
Referenced by getNextRequestableHint(), getNumExistingRequests(), getRequestedHintsList(), getRequestStatisticDataByQuestionAndTestpass(), isRequested(), requestsExist(), requestsPossible(), and storeRequest().
ilAssQuestionHintTracking::getQuestionId | ( | ) |
Definition at line 54 of file class.ilAssQuestionHintTracking.php.
References $questionId.
Referenced by getNextRequestableHint(), getNumExistingRequests(), getRequestedHintsList(), getRequestStatisticDataByQuestionAndTestpass(), requestsExist(), requestsPossible(), and storeRequest().
ilAssQuestionHintTracking::getRequestedHintsList | ( | ) |
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
Definition at line 244 of file class.ilAssQuestionHintTracking.php.
References $ilDB, $query, $res, $row, getActiveId(), ilAssQuestionHintList\getListByHintIds(), getPass(), and getQuestionId().
ilAssQuestionHintTracking::getRequestStatisticDataByQuestionAndTestpass | ( | ) |
Returns a question hint request statistic data container containing the statistics for all requests relating to given ...
public ilDB $ilDB
Definition at line 309 of file class.ilAssQuestionHintTracking.php.
References $ilDB, $query, $res, $row, getActiveId(), getPass(), and getQuestionId().
ilAssQuestionHintTracking::isRequested | ( | $hintId | ) |
Returns the fact wether the hint for given id is requested for the given testactive and testpass.
public ilDB $ilDB
integer | $hintId |
Definition at line 159 of file class.ilAssQuestionHintTracking.php.
References $ilDB, $query, $res, $row, getActiveId(), and getPass().
ilAssQuestionHintTracking::requestsExist | ( | ) |
Returns the fact wether there exists hint requests for the given question relating to the given testactive and testpass or not.
public ilDB $ilDB
Definition at line 67 of file class.ilAssQuestionHintTracking.php.
References getActiveId(), getPass(), and getQuestionId().
ilAssQuestionHintTracking::requestsPossible | ( | ) |
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
Definition at line 117 of file class.ilAssQuestionHintTracking.php.
References $ilDB, $query, $res, $row, getActiveId(), getPass(), and getQuestionId().
ilAssQuestionHintTracking::setActiveId | ( | $activeId | ) |
Definition at line 29 of file class.ilAssQuestionHintTracking.php.
References $activeId.
ilAssQuestionHintTracking::setPass | ( | $pass | ) |
Definition at line 39 of file class.ilAssQuestionHintTracking.php.
References $pass.
ilAssQuestionHintTracking::setQuestionId | ( | $questionId | ) |
Definition at line 49 of file class.ilAssQuestionHintTracking.php.
References $questionId.
ilAssQuestionHintTracking::storeRequest | ( | ilAssQuestionHint | $questionHint | ) |
Tracks the given hint as requested for the given question, testactive and testpass.
public ilDB $ilDB
ilAssQuestionHint | $questionHint |
Definition at line 283 of file class.ilAssQuestionHintTracking.php.
References $ilDB, getActiveId(), ilAssQuestionHint\getId(), getPass(), and getQuestionId().
|
private |
Definition at line 18 of file class.ilAssQuestionHintTracking.php.
Referenced by __construct(), getActiveId(), and setActiveId().
|
private |
Definition at line 20 of file class.ilAssQuestionHintTracking.php.
Referenced by __construct(), getPass(), and setPass().
|
private |
Definition at line 16 of file class.ilAssQuestionHintTracking.php.
Referenced by __construct(), getQuestionId(), and setQuestionId().