Public Member Functions | Data Fields

ilQTIRenderHotspot Class Reference

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.

        {
                return $this->maxnumber;
        }

ilQTIRenderHotspot::getMinnumber (  ) 

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

        {
                return $this->minnumber;
        }

ilQTIRenderHotspot::getShowdraw (  ) 

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

        {
                return $this->showdraw;
        }

ilQTIRenderHotspot::ilQTIRenderHotspot (  ) 

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

        {
                $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.

        {
                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.

ilQTIRenderHotspot::$minnumber

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

ilQTIRenderHotspot::$response_labels

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

ilQTIRenderHotspot::$showdraw

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


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