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