19 require_once
'./Modules/Test/classes/inc.AssessmentConstants.php';
67 $this->lowerBound = null;
68 $this->upperBound = null;
83 if ($boundvalue ===
false || $boundvalue > $value) {
86 $this->lowerBound = $bound;
100 if ($boundvalue ===
false || $boundvalue < $value) {
103 $this->upperBound = $bound;
114 include_once(
"./Services/Math/classes/class.EvalMath.php");
116 $eval->suppress_errors =
true;
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getLowerBound()
Returns the lower bound.
getUpperBound()
Returns the upper bound.
static stripSlashes(string $a_str, bool $a_strip_html=true, string $a_allow="")
getNumericValueFromAnswerText()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setUpperBound(string $bound)
Sets the upper bound.
getAnswertext()
Gets the answer text.
__construct(Container $dic, ilPlugin $plugin)
setLowerBound(string $bound)
Sets the lower boind.
__construct(string $answertext="", float $points=0.0, int $order=0, int $id=-1, int $state=0)
assAnswerCloze constructor
setGapSize(int $gap_size)
getNumericValueFromText($text)