4 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerSimple.php';
5 require_once
'./Modules/Test/classes/inc.AssessmentConstants.php';
60 $this->lowerBound = NULL;
61 $this->upperBound = NULL;
72 $bound = str_replace(
",",
".", $bound);
78 if ( is_numeric($bound) )
80 $this->lowerBound = $bound;
97 $bound = str_replace(
",",
".", $bound);
101 if ($bound < $value || strlen($bound) == 0)
106 if ( is_numeric($bound) )
108 $this->upperBound = $bound;
118 include_once(
"./Services/Math/classes/class.EvalMath.php");
120 $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