4 require_once
'./Modules/Test/classes/inc.AssessmentConstants.php';
131 return is_numeric($a_points);
205 $new_points = str_replace(
",",
".",
$points);
207 $this->points = $new_points;
setPoints($points=0.0)
Sets the points.
getId()
Gets the answer id.
getPoints()
Gets the points.
checkPoints($a_points)
Checks, if the point value is numeric.
Class for simple answers.
setOrder($order=0)
Sets the order.
getAnswertext()
Gets the answer text.
setAnswertext($answertext="")
Sets the answer text.
getOrder()
Gets the sort/display order.
__construct($answertext="", $points=0.0, $order=0, $id=-1)
ASS_AnswerSimple constructor.
setId($id=-1)
Sets the answer id.