ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 69 of file class.ilQTIObjectives.php.

References $view.

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

◆ setView()

ilQTIObjectives::setView (   $a_view)

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

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

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: