Represents one of the choices (draggable markers).
More...
|
| __construct ($label, $no, $infinite, $noofdrags) |
| Drag item object setup.
|
|
| choice_group () |
| Returns the group of this item.
|
|
| summarise () |
| Creates summary text of for the drag item.
|
|
|
int | $infinite |
| Group of the item.
|
|
int | $no |
| Number of the item.
|
|
int | $noofdrags |
| Number of drags.
|
|
string | $text |
| Label for the drag item.
|
|
Represents one of the choices (draggable markers).
- Copyright
- 2009 The Open University
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
qtype_ddmarker_drag_item::__construct |
( |
| $label, |
|
|
| $no, |
|
|
| $infinite, |
|
|
| $noofdrags ) |
Drag item object setup.
- Parameters
-
string | $label | The label text of the drag item |
int | $no | Which number drag item this is |
bool | $infinite | True if the item can be used an unlimited number of times |
int | $noofdrags | |
◆ choice_group()
qtype_ddmarker_drag_item::choice_group |
( |
| ) |
|
Returns the group of this item.
- Return values
-
◆ summarise()
qtype_ddmarker_drag_item::summarise |
( |
| ) |
|
Creates summary text of for the drag item.
- Return values
-
The documentation for this class was generated from the following file:
- question/type/ddmarker/question.php