|
ILIAS
Release_4_2_x_branch Revision 61807
|
Class for true/false or yes/no answers. More...
Inheritance diagram for ASS_AnswerImagemap:
Collaboration diagram for ASS_AnswerImagemap:Public Member Functions | |
| ASS_AnswerImagemap ($answertext="", $points=0.0, $order=0, $coords="", $area="", $id=-1) | |
| ASS_AnswerImagemap constructor. | |
| getCoords () | |
| Gets the coordinates of an image map. | |
| setCoords ($coords="") | |
| Sets the coordinates of an image map. | |
| getArea () | |
| Gets the area of an image map. | |
| setArea ($area="") | |
| Sets the area of an image map. | |
Public Member Functions inherited from ASS_AnswerBinaryState | |
| ASS_AnswerBinaryState ($answertext="", $points=0.0, $order=0, $state=0, $id=-1) | |
| ASS_AnswerBinaryState constructor. | |
| getState () | |
| Gets the state. | |
| isStateChecked () | |
| Gets the state. | |
| isStateSet () | |
| Gets the state. | |
| isStateUnset () | |
| Gets the state. | |
| isStateUnchecked () | |
| Gets the state. | |
| setState ($state=0) | |
| Sets the state. | |
| setChecked () | |
| Sets the answer as a checked answer. | |
| setSet () | |
| Sets the answer as a set answer. | |
| setUnset () | |
| Sets the answer as a unset answer. | |
| setUnchecked () | |
| Sets the answer as a unchecked answer. | |
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 | |
| $coords | |
| $area | |
Data Fields inherited from ASS_AnswerBinaryState | |
| $state | |
Data Fields inherited from ASS_AnswerSimple | |
| $answertext | |
| $points | |
| $order | |
| $id | |
Class for true/false or yes/no answers.
ASS_AnswerImagemap is a class for true/false or yes/no answers used for example in multiple choice tests.
Definition at line 38 of file class.assAnswerImagemap.php.
| ASS_AnswerImagemap::ASS_AnswerImagemap | ( | $answertext = "", |
|
$points = 0.0, |
|||
$order = 0, |
|||
$coords = "", |
|||
$area = "", |
|||
$id = -1 |
|||
| ) |
ASS_AnswerImagemap constructor.
The constructor takes possible arguments an creates an instance of the ASS_AnswerImagemap object.
| string | $answertext | A string defining the answer text |
| double | $points | The number of points given for the selected answer |
| boolean | $correctness | A boolean value indicating the correctness of the answer |
| integer | $order | A nonnegative value representing a possible display or sort order public |
Definition at line 68 of file class.assAnswerImagemap.php.
References ASS_AnswerSimple\$answertext, $area, $coords, ASS_AnswerSimple\$id, ASS_AnswerSimple\$order, ASS_AnswerSimple\$points, and ASS_AnswerBinaryState\ASS_AnswerBinaryState().
Here is the call graph for this function:| ASS_AnswerImagemap::getArea | ( | ) |
Gets the area of an image map.
Definition at line 115 of file class.assAnswerImagemap.php.
References $area.
| ASS_AnswerImagemap::getCoords | ( | ) |
Gets the coordinates of an image map.
Definition at line 90 of file class.assAnswerImagemap.php.
References $coords.
| ASS_AnswerImagemap::setArea | ( | $area = "" | ) |
Sets the area of an image map.
| string | $area | public |
Definition at line 127 of file class.assAnswerImagemap.php.
References $area.
| ASS_AnswerImagemap::setCoords | ( | $coords = "" | ) |
| ASS_AnswerImagemap::$area |
Definition at line 55 of file class.assAnswerImagemap.php.
Referenced by ASS_AnswerImagemap(), getArea(), and setArea().
| ASS_AnswerImagemap::$coords |
Definition at line 46 of file class.assAnswerImagemap.php.
Referenced by ASS_AnswerImagemap(), getCoords(), and setCoords().