Represents one of the choices (draggable images).
More...
|
| | __construct ($alttextlabel, $no, $group=1, $infinite=false, $id=0) |
| | Drag item object setup.
|
| |
| | choice_group () |
| | Returns the group of this item.
|
| |
| | summarise () |
| | Creates summary text of for the drag item.
|
| |
|
|
int | $group |
| | Group of the item.
|
| |
|
int | $id |
| | Drag item id.
|
| |
|
bool | $infinite |
| | If the drag item can be used multiple times or not.
|
| |
|
int | $no |
| | Number of the item.
|
| |
|
string | $text |
| | Text for the drag item.
|
| |
Represents one of the choices (draggable images).
- Copyright
- 2009 The Open University
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
| qtype_ddimageortext_drag_item::__construct |
( |
| $alttextlabel, |
|
|
| $no, |
|
|
| $group = 1, |
|
|
| $infinite = false, |
|
|
| $id = 0 ) |
Drag item object setup.
- Parameters
-
| string | $alttextlabel | The alt text of the drag item |
| int | $no | Which number drag item this is |
| int | $group | Group of the drag item |
| bool | $infinite | True if the item can be used an unlimited number of times |
| int | $id | id of the item |
◆ choice_group()
| qtype_ddimageortext_drag_item::choice_group |
( |
| ) |
|
Returns the group of this item.
- Return values
-
◆ summarise()
| qtype_ddimageortext_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/ddimageortext/question.php