Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Public Attributes | List of all members
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. More...
 
 summarise ()
 Creates summary text of for the drop zone. More...
 

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: