ILIAS
Release_4_2_x_branch Revision 61807
|
Class for cloze question numeric answers. More...
Public Member Functions | |
assAnswerCloze ($answertext="", $points=0.0, $order=0) | |
assAnswerCloze constructor | |
setLowerBound ($bound) | |
setUpperBound ($bound) | |
getLowerBound () | |
getUpperBound () | |
Public Member Functions inherited from ASS_AnswerSimple | |
ASS_AnswerSimple ($answertext="", $points=0.0, $order=0, $id=-1) | |
ASS_AnswerSimple constructor. | |
getId () | |
Gets the answer id. | |
getAnswertext () | |
Gets the answer text. | |
getPoints () | |
Gets the points. | |
checkPoints ($a_points) | |
Checks, if the point value is numeric. | |
getOrder () | |
Gets the sort/display order. | |
setOrder ($order=0) | |
Sets the order. | |
setId ($id=-1) | |
Sets the answer id. | |
setAnswertext ($answertext="") | |
Sets the answer text. | |
setPoints ($points=0.0) | |
Sets the points. |
Data Fields | |
$lowerBound | |
$upperBound | |
Data Fields inherited from ASS_AnswerSimple | |
$answertext | |
$points | |
$order | |
$id |
Class for cloze question numeric answers.
assAnswerCloze is a class for cloze questions numeric answers.
Definition at line 37 of file class.assAnswerCloze.php.
assAnswerCloze::assAnswerCloze | ( | $answertext = "" , |
|
$points = 0.0 , |
|||
$order = 0 |
|||
) |
assAnswerCloze constructor
The constructor takes possible arguments an creates an instance of the assAnswerCloze object.
string | $answertext | A string defining the answer text |
double | $points | The number of points given for the selected answer |
integer | $order | A nonnegative value representing a possible display or sort order public |
Definition at line 69 of file class.assAnswerCloze.php.
References ASS_AnswerSimple\$answertext, ASS_AnswerSimple\$order, ASS_AnswerSimple\$points, and ASS_AnswerSimple\ASS_AnswerSimple().
assAnswerCloze::getLowerBound | ( | ) |
Definition at line 90 of file class.assAnswerCloze.php.
References $lowerBound.
assAnswerCloze::getUpperBound | ( | ) |
Definition at line 95 of file class.assAnswerCloze.php.
References $upperBound.
assAnswerCloze::setLowerBound | ( | $bound | ) |
Definition at line 76 of file class.assAnswerCloze.php.
References ASS_AnswerSimple\getAnswertext().
assAnswerCloze::setUpperBound | ( | $bound | ) |
Definition at line 83 of file class.assAnswerCloze.php.
References ASS_AnswerSimple\getAnswertext().
assAnswerCloze::$lowerBound |
Definition at line 47 of file class.assAnswerCloze.php.
Referenced by getLowerBound().
assAnswerCloze::$upperBound |
Definition at line 57 of file class.assAnswerCloze.php.
Referenced by getUpperBound().