4include_once
"./Modules/TestQuestionPool/classes/class.assAnswerBinaryState.php";
5include_once
"./Modules/Test/classes/inc.AssessmentConstants.php";
82 $this->coords = preg_replace(
"/\s/",
"", $this->coords);
148 $this->points_unchecked = $new_points;
152 $this->points_unchecked = 0.0;
Class for true/false or yes/no answers.
Class for true/false or yes/no answers.
setCoords($coords="")
Sets the coordinates of an image map.
getArea()
Gets the area of an image map.
setArea($area="")
Sets the area of an image map.
getPointsUnchecked()
Returns the points for an unchecked answer Returns the points for an unchecked answer.
ASS_AnswerImagemap( $answertext="", $points=0.0, $order=0, $coords="", $area="", $id=-1, $points_unchecked=0)
ASS_AnswerImagemap constructor.
getCoords()
Gets the coordinates of an image map.
setPointsUnchecked($points_unchecked)
Sets the points for an unchecked answer.
checkPoints($a_points)
Checks, if the point value is numeric.