ILIAS  release_8 Revision v8.23
ilQTIPresentation Class Reference
+ Collaboration diagram for ilQTIPresentation:

Public Member Functions

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

Data Fields

string $label = null
 
string $xmllang = null
 
string $x0 = null
 
string $y0 = null
 
string $width = null
 
string $height = null
 
array $material = []
 
array $response = []
 
array $order = []
 

Detailed Description

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

Member Function Documentation

◆ addMaterial()

ilQTIPresentation::addMaterial ( ilQTIMaterial  $a_material)

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

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

◆ addResponse()

ilQTIPresentation::addResponse ( ilQTIResponse  $a_response)

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

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

◆ getHeight()

ilQTIPresentation::getHeight ( )

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

References $height.

107  : ?string
108  {
109  return $this->height;
110  }

◆ getLabel()

ilQTIPresentation::getLabel ( )

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

References $label.

57  : ?string
58  {
59  return $this->label;
60  }

◆ getWidth()

ilQTIPresentation::getWidth ( )

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

References $width.

97  : ?string
98  {
99  return $this->width;
100  }

◆ getX0()

ilQTIPresentation::getX0 ( )

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

References $x0.

77  : ?string
78  {
79  return $this->x0;
80  }

◆ getXmllang()

ilQTIPresentation::getXmllang ( )

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

References $xmllang.

67  : ?string
68  {
69  return $this->xmllang;
70  }

◆ getY0()

ilQTIPresentation::getY0 ( )

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

References $y0.

87  : ?string
88  {
89  return $this->y0;
90  }

◆ setHeight()

ilQTIPresentation::setHeight ( string  $a_height)

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

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

◆ setLabel()

ilQTIPresentation::setLabel ( string  $a_label)

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

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

◆ setWidth()

ilQTIPresentation::setWidth ( string  $a_width)

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

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

◆ setX0()

ilQTIPresentation::setX0 ( string  $a_x0)

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

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

◆ setXmllang()

ilQTIPresentation::setXmllang ( string  $a_xmllang)

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

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

◆ setY0()

ilQTIPresentation::setY0 ( string  $a_y0)

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

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

Field Documentation

◆ $height

string ilQTIPresentation::$height = null

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

Referenced by getHeight().

◆ $label

string ilQTIPresentation::$label = null

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

Referenced by getLabel().

◆ $material

array ilQTIPresentation::$material = []

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

◆ $order

array ilQTIPresentation::$order = []

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

◆ $response

array ilQTIPresentation::$response = []

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

◆ $width

string ilQTIPresentation::$width = null

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

Referenced by getWidth().

◆ $x0

string ilQTIPresentation::$x0 = null

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

Referenced by getX0().

◆ $xmllang

string ilQTIPresentation::$xmllang = null

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

Referenced by getXmllang().

◆ $y0

string ilQTIPresentation::$y0 = null

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

Referenced by getY0().


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