ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilQTIObjectives Class Reference
+ Collaboration diagram for ilQTIObjectives:

Public Member Functions

 addMaterial (ilQTIMaterial $a_material)
 
 setView (string $a_view)
 
 getView ()
 

Data Fields

array $materials = []
 
string $view = "All"
 

Detailed Description

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

Member Function Documentation

◆ addMaterial()

ilQTIObjectives::addMaterial ( ilQTIMaterial  $a_material)

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

35 : void
36 {
37 $this->materials[] = $a_material;
38 }

◆ getView()

ilQTIObjectives::getView ( )

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

60 : string
61 {
62 return $this->view;
63 }

References $view.

◆ setView()

ilQTIObjectives::setView ( string  $a_view)

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

40 : void
41 {
42 switch ($a_view) {
43 case "Administrator":
44 case "AdminAuthority":
45 case "Assessor":
46 case "Author":
47 case "Candidate":
48 case "InvigilatorProctor":
49 case "Psychometrician":
50 case "Scorer":
51 case "Tutor":
52 $this->view = $a_view;
53 break;
54 default:
55 $this->view = "All";
56 break;
57 }
58 }

Field Documentation

◆ $materials

array ilQTIObjectives::$materials = []

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

◆ $view

string ilQTIObjectives::$view = "All"

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

Referenced by getView().


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