Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
qtype_gapselect_choice Class Reference

Represents one of the choices (select box option). More...

Public Member Functions

 __construct ($text, $selectgroup=1)
 Creates summary text of for the drag item.
 
 choice_group ()
 Returns the group of this item.
 

Public Attributes

int $selectgroup
 Selection group of the choice.
 
string $text
 Text for the choice.
 

Detailed Description

Represents one of the choices (select box option).

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

qtype_gapselect_choice::__construct ( $text,
$selectgroup = 1 )

Creates summary text of for the drag item.

Parameters
string$textThe text of the choice
int$selectgroupThe select group of the choice

Member Function Documentation

◆ choice_group()

qtype_gapselect_choice::choice_group ( )

Returns the group of this item.

Return values
int

The documentation for this class was generated from the following file: