4 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerSimple.php';
5 require_once
'./Modules/Test/classes/inc.AssessmentConstants.php';
67 $this->lowerBound = null;
68 $this->upperBound = null;
84 if ($boundvalue ===
false || $boundvalue > $value) {
87 $this->lowerBound = $bound;
102 if ($boundvalue ===
false || $boundvalue < $value) {
105 $this->upperBound = $bound;
116 include_once(
"./Services/Math/classes/class.EvalMath.php");
118 $eval->suppress_errors =
true;
Class for cloze question numeric answers.
getLowerBound()
Returns the lower bound.
setUpperBound($bound)
Sets the upper bound.
getUpperBound()
Returns the upper bound.
setLowerBound($bound)
Sets the lower boind.
getNumericValueFromAnswerText()
Class for simple answers.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
getAnswertext()
Gets the answer text.
__construct($answertext="", $points=0.0, $order=0)
assAnswerCloze constructor
getNumericValueFromText($text)