3 declare(strict_types=1);
51 public function setView(
string $a_view): void
53 switch (strtolower($a_view)) {
56 $this->view = self::VIEW_ALL;
60 $this->view = self::VIEW_ADMINISTRATOR;
63 case "adminauthority":
64 $this->view = self::VIEW_ADMINAUTHORITY;
68 $this->view = self::VIEW_ASSESSOR;
72 $this->view = self::VIEW_AUTHOR;
76 $this->view = self::VIEW_CANDIDATE;
79 case "invigilatorproctor":
80 $this->view = self::VIEW_INVIGILATORPROCTOR;
83 case "psychometrician":
84 $this->view = self::VIEW_PSYCHOMETRICIAN;
88 $this->view = self::VIEW_SCORER;
92 $this->view = self::VIEW_TUTOR;
104 $this->ident = $a_ident;
114 $this->title = $a_title;
124 $this->flow_mat[] = $a_flow_mat;
129 $this->material[] = $a_material;
const VIEW_PSYCHOMETRICIAN
setIdent(string $a_ident)
addMaterial(ilQTIMaterial $a_material)
const VIEW_INVIGILATORPROCTOR
setTitle(string $a_title)
addFlowMat(ilQTIFlowmat $a_flow_mat)
const VIEW_ADMINAUTHORITY