4include_once
"./Modules/TestQuestionPool/classes/class.assAnswerSimple.php";
5include_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));
87 $this->answer_id = $a_answer_id;
96 $this->ordering_depth = (int)$a_ordering_depth;
Class for ordering question answers.
getRandomID()
Returns the random ID of the answer.
setOrderingDepth($a_ordering_depth)
setRandomID($random_id=0)
Sets the random ID of the answer.
getAdditionalOrderingFieldsByRandomId($a_random_id)
setAnswerId($a_answer_id)
ASS_AnswerOrdering( $answertext="", $random_id=0, $depth=0)
ASS_AnswerOrdering constructor.
Class for simple answers.