4 include_once
"./Modules/TestQuestionPool/classes/class.assAnswerSimple.php";
5 include_once
"./Modules/Test/classes/inc.AssessmentConstants.php";
75 $res = $ilDB->queryF(
'SELECT * FROM qpl_a_ordering WHERE random_id = %s',
76 array(
'integer'), array($a_random_id));
78 while(
$row = $ilDB->fetchAssoc(
$res))
87 $this->answer_id = $a_answer_id;
96 $this->ordering_depth = (int)$a_ordering_depth;
getRandomID()
Returns the random ID of the answer.
Class for ordering question answers.
setRandomID($random_id=0)
Sets the random ID of the answer.
setOrderingDepth($a_ordering_depth)
Class for simple answers.
setAnswerId($a_answer_id)
ASS_AnswerOrdering( $answertext="", $random_id=0, $depth=0)
ASS_AnswerOrdering constructor.
getAdditionalOrderingFieldsByRandomId($a_random_id)