ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilQTIRenderHotspot Class Reference
+ Collaboration diagram for ilQTIRenderHotspot:

Public Member Functions

 ilQTIRenderHotspot ()
 setShowdraw ($a_showdraw)
 getShowdraw ()
 setMinnumber ($a_minnumber)
 getMinnumber ()
 setMaxnumber ($a_maxnumber)
 getMaxnumber ()
 addResponseLabel ($a_response_label)
 addMaterial ($a_material)

Data Fields

 $showdraw
 $minnumber
 $maxnumber
 $response_labels
 $material

Detailed Description

Definition at line 35 of file class.ilQTIRenderHotspot.php.

Member Function Documentation

ilQTIRenderHotspot::addMaterial (   $a_material)

Definition at line 95 of file class.ilQTIRenderHotspot.php.

{
array_push($this->material, $a_material);
}
ilQTIRenderHotspot::addResponseLabel (   $a_response_label)

Definition at line 90 of file class.ilQTIRenderHotspot.php.

{
array_push($this->response_labels, $a_response_label);
}
ilQTIRenderHotspot::getMaxnumber ( )

Definition at line 85 of file class.ilQTIRenderHotspot.php.

References $maxnumber.

{
}
ilQTIRenderHotspot::getMinnumber ( )

Definition at line 75 of file class.ilQTIRenderHotspot.php.

References $minnumber.

{
}
ilQTIRenderHotspot::getShowdraw ( )

Definition at line 65 of file class.ilQTIRenderHotspot.php.

References $showdraw.

{
}
ilQTIRenderHotspot::ilQTIRenderHotspot ( )

Definition at line 43 of file class.ilQTIRenderHotspot.php.

References SHOWDRAW_NO.

{
$this->showdraw = SHOWDRAW_NO;
$this->response_labels = array();
$this->material = array();
}
ilQTIRenderHotspot::setMaxnumber (   $a_maxnumber)

Definition at line 80 of file class.ilQTIRenderHotspot.php.

{
$this->maxnumber = $a_maxnumber;
}
ilQTIRenderHotspot::setMinnumber (   $a_minnumber)

Definition at line 70 of file class.ilQTIRenderHotspot.php.

{
$this->minnumber = $a_minnumber;
}
ilQTIRenderHotspot::setShowdraw (   $a_showdraw)

Definition at line 50 of file class.ilQTIRenderHotspot.php.

References SHOWDRAW_NO, and SHOWDRAW_YES.

{
switch (strtolower($a_showdraw))
{
case "1":
case "no":
$this->showdraw = SHOWDRAW_NO;
break;
case "2":
case "yes":
$this->showdraw = SHOWDRAW_YES;
break;
}
}

Field Documentation

ilQTIRenderHotspot::$material

Definition at line 41 of file class.ilQTIRenderHotspot.php.

ilQTIRenderHotspot::$maxnumber

Definition at line 39 of file class.ilQTIRenderHotspot.php.

Referenced by getMaxnumber().

ilQTIRenderHotspot::$minnumber

Definition at line 38 of file class.ilQTIRenderHotspot.php.

Referenced by getMinnumber().

ilQTIRenderHotspot::$response_labels

Definition at line 40 of file class.ilQTIRenderHotspot.php.

ilQTIRenderHotspot::$showdraw

Definition at line 37 of file class.ilQTIRenderHotspot.php.

Referenced by getShowdraw().


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