ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 29 of file class.ilQTIPresentation.php.

Member Function Documentation

◆ addMaterial()

ilQTIPresentation::addMaterial ( ilQTIMaterial  $a_material)

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

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

◆ addResponse()

ilQTIPresentation::addResponse ( ilQTIResponse  $a_response)

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

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

◆ getHeight()

ilQTIPresentation::getHeight ( )

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

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

References $height.

◆ getLabel()

ilQTIPresentation::getLabel ( )

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

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

References $label.

◆ getWidth()

ilQTIPresentation::getWidth ( )

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

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

References $width.

◆ getX0()

ilQTIPresentation::getX0 ( )

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

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

References $x0.

◆ getXmllang()

ilQTIPresentation::getXmllang ( )

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

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

References $xmllang.

◆ getY0()

ilQTIPresentation::getY0 ( )

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

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

References $y0.

◆ setHeight()

ilQTIPresentation::setHeight ( string  $a_height)

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

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

◆ setLabel()

ilQTIPresentation::setLabel ( string  $a_label)

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

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

◆ setWidth()

ilQTIPresentation::setWidth ( string  $a_width)

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

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

◆ setX0()

ilQTIPresentation::setX0 ( string  $a_x0)

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

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

◆ setXmllang()

ilQTIPresentation::setXmllang ( string  $a_xmllang)

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

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

◆ setY0()

ilQTIPresentation::setY0 ( string  $a_y0)

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

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

Field Documentation

◆ $height

string ilQTIPresentation::$height = null

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

Referenced by getHeight().

◆ $label

string ilQTIPresentation::$label = null

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

Referenced by getLabel().

◆ $material

array ilQTIPresentation::$material = []

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

◆ $order

array ilQTIPresentation::$order = []

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

◆ $response

array ilQTIPresentation::$response = []

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

◆ $width

string ilQTIPresentation::$width = null

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

Referenced by getWidth().

◆ $x0

string ilQTIPresentation::$x0 = null

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

Referenced by getX0().

◆ $xmllang

string ilQTIPresentation::$xmllang = null

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

Referenced by getXmllang().

◆ $y0

string ilQTIPresentation::$y0 = null

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

Referenced by getY0().


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