ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilQTIPresentation Class Reference
+ Collaboration diagram for ilQTIPresentation:

Public Member Functions

 __construct ()
 
 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.

Constructor & Destructor Documentation

◆ __construct()

ilQTIPresentation::__construct ( )

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

References array.

46  {
47  $this->response = array();
48  $this->material = array();
49  $this->order = array();
50  }
Create styles array
The data for the language used.

Member Function Documentation

◆ addMaterial()

ilQTIPresentation::addMaterial (   $a_material)

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

References array.

113  {
114  $count = array_push($this->material, $a_material);
115  array_push($this->order, array("type" =>"material", "index" => $count-1));
116  }
Create styles array
The data for the language used.

◆ addResponse()

ilQTIPresentation::addResponse (   $a_response)

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

References array.

119  {
120  $count = array_push($this->response, $a_response);
121  array_push($this->order, array("type" =>"response", "index" => $count-1));
122  }
Create styles array
The data for the language used.

◆ getHeight()

ilQTIPresentation::getHeight ( )

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

References $height.

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

◆ getLabel()

ilQTIPresentation::getLabel ( )

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

References $label.

58  {
59  return $this->label;
60  }

◆ getWidth()

ilQTIPresentation::getWidth ( )

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

References $width.

98  {
99  return $this->width;
100  }

◆ getX0()

ilQTIPresentation::getX0 ( )

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

References $x0.

78  {
79  return $this->x0;
80  }

◆ getXmllang()

ilQTIPresentation::getXmllang ( )

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

References $xmllang.

68  {
69  return $this->xmllang;
70  }

◆ getY0()

ilQTIPresentation::getY0 ( )

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

References $y0.

88  {
89  return $this->y0;
90  }

◆ 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: