Represents one of the choices (draggable boxes).
More...
|
| | __construct ($text, $draggroup=1, $infinite=false) |
| | Initialize a choice object.
|
| |
| | choice_group () |
| | Returns the group of this item.
|
| |
|
|
int | $draggroup |
| | Group of the choice.
|
| |
|
bool | $infinite |
| | If the choice can be used an unlimited number of times.
|
| |
|
string | $text |
| | Text for the choice.
|
| |
Represents one of the choices (draggable boxes).
- Copyright
- 2009 The Open University
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
| qtype_ddwtos_choice::__construct |
( |
| $text, |
|
|
| $draggroup = 1, |
|
|
| $infinite = false ) |
Initialize a choice object.
- Parameters
-
| string | $text | The text of the choice |
| int | $draggroup | Group of the drop choice |
| bool | $infinite | True if the item can be used an unlimited number of times |
◆ choice_group()
| qtype_ddwtos_choice::choice_group |
( |
| ) |
|
Returns the group of this item.
- Return values
-
The documentation for this class was generated from the following file:
- question/type/ddwtos/question.php