ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilQTIPresentation Class Reference
+ Collaboration diagram for ilQTIPresentation:

Public Member Functions

 ilQTIPresentation ()
 
 setLabel ($a_label)
 
 getLabel ()
 
 setXmllang ($a_xmllang)
 
 getXmllang ()
 
 setX0 ($a_x0)
 
 getX0 ()
 
 setY0 ($a_y0)
 
 getY0 ()
 
 setWidth ($a_width)
 
 getWidth ()
 
 setHeight ($a_height)
 
 getHeight ()
 
 addMaterial ($a_material)
 
 addResponse ($a_response)
 

Data Fields

 $label
 
 $xmllang
 
 $x0
 
 $y0
 
 $width
 
 $height
 
 $material
 
 $response
 
 $order
 

Detailed Description

Definition at line 32 of file class.ilQTIPresentation.php.

Member Function Documentation

◆ addMaterial()

ilQTIPresentation::addMaterial (   $a_material)

Definition at line 112 of file class.ilQTIPresentation.php.

113 {
114 $count = array_push($this->material, $a_material);
115 array_push($this->order, array("type" =>"material", "index" => $count-1));
116 }

◆ addResponse()

ilQTIPresentation::addResponse (   $a_response)

Definition at line 118 of file class.ilQTIPresentation.php.

119 {
120 $count = array_push($this->response, $a_response);
121 array_push($this->order, array("type" =>"response", "index" => $count-1));
122 }

◆ getHeight()

ilQTIPresentation::getHeight ( )

Definition at line 107 of file class.ilQTIPresentation.php.

108 {
109 return $this->height;
110 }

References $height.

◆ getLabel()

ilQTIPresentation::getLabel ( )

Definition at line 57 of file class.ilQTIPresentation.php.

References $label.

◆ getWidth()

ilQTIPresentation::getWidth ( )

Definition at line 97 of file class.ilQTIPresentation.php.

References $width.

◆ getX0()

ilQTIPresentation::getX0 ( )

Definition at line 77 of file class.ilQTIPresentation.php.

References $x0.

◆ getXmllang()

ilQTIPresentation::getXmllang ( )

Definition at line 67 of file class.ilQTIPresentation.php.

References $xmllang.

◆ getY0()

ilQTIPresentation::getY0 ( )

Definition at line 87 of file class.ilQTIPresentation.php.

References $y0.

◆ ilQTIPresentation()

ilQTIPresentation::ilQTIPresentation ( )

Definition at line 45 of file class.ilQTIPresentation.php.

46 {
47 $this->response = array();
48 $this->material = array();
49 $this->order = array();
50 }

◆ setHeight()

ilQTIPresentation::setHeight (   $a_height)

Definition at line 102 of file class.ilQTIPresentation.php.

103 {
104 $this->height = $a_height;
105 }

◆ setLabel()

ilQTIPresentation::setLabel (   $a_label)

Definition at line 52 of file class.ilQTIPresentation.php.

53 {
54 $this->label = $a_label;
55 }

◆ setWidth()

ilQTIPresentation::setWidth (   $a_width)

Definition at line 92 of file class.ilQTIPresentation.php.

93 {
94 $this->width = $a_width;
95 }

◆ setX0()

ilQTIPresentation::setX0 (   $a_x0)

Definition at line 72 of file class.ilQTIPresentation.php.

73 {
74 $this->x0 = $a_x0;
75 }

◆ setXmllang()

ilQTIPresentation::setXmllang (   $a_xmllang)

Definition at line 62 of file class.ilQTIPresentation.php.

63 {
64 $this->xmllang = $a_xmllang;
65 }

◆ setY0()

ilQTIPresentation::setY0 (   $a_y0)

Definition at line 82 of file class.ilQTIPresentation.php.

83 {
84 $this->y0 = $a_y0;
85 }

Field Documentation

◆ $height

ilQTIPresentation::$height

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

Referenced by getHeight().

◆ $label

ilQTIPresentation::$label

Definition at line 34 of file class.ilQTIPresentation.php.

Referenced by getLabel().

◆ $material

ilQTIPresentation::$material

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

◆ $order

ilQTIPresentation::$order

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

◆ $response

ilQTIPresentation::$response

Definition at line 42 of file class.ilQTIPresentation.php.

◆ $width

ilQTIPresentation::$width

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

Referenced by getWidth().

◆ $x0

ilQTIPresentation::$x0

Definition at line 36 of file class.ilQTIPresentation.php.

Referenced by getX0().

◆ $xmllang

ilQTIPresentation::$xmllang

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

Referenced by getXmllang().

◆ $y0

ilQTIPresentation::$y0

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

Referenced by getY0().


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