ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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. More... | |
getNumExistingRequests () | |
Returns the number existing hint requests for the given question relating to the given testactive and testpass or not. More... | |
requestsPossible () | |
Returns the fact wether (further) hint requests are possible for the given question relating to the given testactive and testpass or not. More... | |
isRequested ($hintId) | |
Returns the fact wether the hint for given id is requested for the given testactive and testpass. More... | |
getNextRequestableHint () | |
Returns the next requestable hint for given question relating to given testactive and testpass. More... | |
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. More... | |
storeRequest (ilAssQuestionHint $questionHint) | |
Tracks the given hint as requested for the given question, testactive and testpass. More... | |
getRequestStatisticDataByQuestionAndTestpass () | |
Returns a question hint request statistic data container containing the statistics for all requests relating to given ... More... | |
Static Public Member Functions | |
static | getRequestRequestStatisticDataRegisterByActiveId ($activeId) |
static | deleteRequestsByActiveIds ($activeIds) |
Deletes all hint requests relating to a testactive included in given active ids. More... | |
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.
|
static |
Deletes all hint requests relating to a testactive included in given active ids.
public ilDBInterface $ilDB
array[integer] | $activeIds |
Definition at line 430 of file class.ilAssQuestionHintTracking.php.
Referenced by ilObjTest\removeTestResultsByActiveIds().
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 ilDBInterface $ilDB
ilTestException |
Definition at line 197 of file class.ilAssQuestionHintTracking.php.
References $ilDB, $query, $res, $row, array, 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 ilDBInterface $ilDB
Definition at line 84 of file class.ilAssQuestionHintTracking.php.
References $ilDB, $query, $res, $row, array, 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 ilDBInterface $ilDB
Definition at line 247 of file class.ilAssQuestionHintTracking.php.
References $ilDB, $query, $res, $row, array, getActiveId(), ilAssQuestionHintList\getListByHintIds(), getPass(), and getQuestionId().
|
static |
integer | $activeId |
Definition at line 355 of file class.ilAssQuestionHintTracking.php.
References $activeId, $DIC, $ilDB, $query, $res, $row, and array.
Referenced by ilTestServiceGUI\getPassOverviewTableData().
ilAssQuestionHintTracking::getRequestStatisticDataByQuestionAndTestpass | ( | ) |
Returns a question hint request statistic data container containing the statistics for all requests relating to given ...
public ilDBInterface $ilDB
Definition at line 312 of file class.ilAssQuestionHintTracking.php.
References $ilDB, $query, $res, $row, array, 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 ilDBInterface $ilDB
integer | $hintId |
Definition at line 159 of file class.ilAssQuestionHintTracking.php.
References $ilDB, $query, $res, $row, array, 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 ilDBInterface $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 ilDBInterface $ilDB
Definition at line 117 of file class.ilAssQuestionHintTracking.php.
References $ilDB, $query, $res, $row, array, getActiveId(), getPass(), and getQuestionId().
ilAssQuestionHintTracking::setActiveId | ( | $activeId | ) |
ilAssQuestionHintTracking::setPass | ( | $pass | ) |
ilAssQuestionHintTracking::setQuestionId | ( | $questionId | ) |
ilAssQuestionHintTracking::storeRequest | ( | ilAssQuestionHint | $questionHint | ) |
Tracks the given hint as requested for the given question, testactive and testpass.
public ilDBInterface $ilDB
ilAssQuestionHint | $questionHint |
Definition at line 286 of file class.ilAssQuestionHintTracking.php.
References $ilDB, array, getActiveId(), ilAssQuestionHint\getId(), getPass(), and getQuestionId().
|
private |
Definition at line 18 of file class.ilAssQuestionHintTracking.php.
Referenced by __construct(), getActiveId(), getRequestRequestStatisticDataRegisterByActiveId(), 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().