24 define (
"VIEW_ALL", 
"1");
 
   25 define (
"VIEW_ADMINISTRATOR", 
"2");
 
   26 define (
"VIEW_ADMINAUTHORITY", 
"3");
 
   27 define (
"VIEW_ASSESSOR", 
"4");
 
   28 define (
"VIEW_AUTHOR", 
"5");
 
   29 define (
"VIEW_CANDIDATE", 
"6");
 
   30 define (
"VIEW_INVIGILATORPROCTOR", 
"7");
 
   31 define (
"VIEW_PSYCHOMETRICIAN", 
"8");
 
   32 define (
"VIEW_SCORER", 
"9");
 
   33 define (
"VIEW_TUTOR", 
"10");
 
   55                 $this->flow_mat = array();
 
   56                 $this->material = array();
 
   57                 $this->solution = array();
 
   58                 $this->hint = array();
 
   63                 switch (strtolower($a_view))
 
   74                         case "adminauthority":
 
   90                         case "invigilatorproctor":
 
   94                         case "psychometrician":
 
  115                 $this->ident = $a_ident;
 
  125                 $this->title = $a_title;
 
  135                 array_push($this->flow_mat, $a_flow_mat);
 
  140                 array_push($this->material, $a_material);
 
  145                 array_push($this->solution, $a_solution);
 
  150                 array_push($this->hint, $a_hint);