Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
qtype_ddimageortext_drop_zone Class Reference

Represents one of the places (drop zones). More...

Public Member Functions

 __construct ($alttextlabel, $no, $group=1, $x='', $y='')
 Create a drop zone object.
 
 summarise ()
 Creates summary text of for the drop zone.
 

Public Attributes

int $group
 Group of the item.
 
int $no
 Number of the item.
 
string $text
 Alt text for the drop zone item.
 
array $xy
 X and Y location of the drop zone.
 

Detailed Description

Represents one of the places (drop zones).

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

Constructor & Destructor Documentation

◆ __construct()

qtype_ddimageortext_drop_zone::__construct ( $alttextlabel,
$no,
$group = 1,
$x = '',
$y = '' )

Create a drop zone object.

Parameters
string$alttextlabelThe alt text of the drop zone
int$noWhich number drop zone this is
int$groupGroup of the drop zone
int$xX location
int$yY location

Member Function Documentation

◆ summarise()

qtype_ddimageortext_drop_zone::summarise ( )

Creates summary text of for the drop zone.

Return values
string

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