ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilQTIObjectives Class Reference
+ Collaboration diagram for ilQTIObjectives:

Public Member Functions

 __construct ()
 
 addMaterial ($a_material)
 
 setView ($a_view)
 
 getView ()
 

Data Fields

 $materials
 
 $view
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilQTIObjectives::__construct ( )

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

References array.

38  {
39  $this->materials = array();
40  $this->view = "All";
41  }
Create styles array
The data for the language used.

Member Function Documentation

◆ addMaterial()

ilQTIObjectives::addMaterial (   $a_material)

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

44  {
45  array_push($this->materials, $a_material);
46  }

◆ getView()

ilQTIObjectives::getView ( )

Definition at line 68 of file class.ilQTIObjectives.php.

References $view.

69  {
70  return $this->view;
71  }

◆ setView()

ilQTIObjectives::setView (   $a_view)

Definition at line 48 of file class.ilQTIObjectives.php.

49  {
50  switch ($a_view) {
51  case "Administrator":
52  case "AdminAuthority":
53  case "Assessor":
54  case "Author":
55  case "Candidate":
56  case "InvigilatorProctor":
57  case "Psychometrician":
58  case "Scorer":
59  case "Tutor":
60  $this->view = $a_view;
61  break;
62  default:
63  $this->view = "All";
64  break;
65  }
66  }

Field Documentation

◆ $materials

ilQTIObjectives::$materials

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

◆ $view

ilQTIObjectives::$view

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

Referenced by getView().


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