| 
    Stud.IP
    2.4 Revision 48548
    
   | 
  
Namespaces | |
| namespace | evaluation | 
Functions | |
| save1 ($myuserid) | |
Variables | |
| $db = new EvaluationQuestionDB() | |
| $lib = new EvalTemplateGUI() | |
| $rangeID = ($rangeID) ? $rangeID : $SessSemName[1] | |
| if(empty($rangeID)) | $command = $lib->getPageCommand() | 
| $odb = new EvaluationObjectDB() | |
| $template_type = Request::quoted('template_type') ? Request::quoted('template_type') : $template_type | |
| $template_multiple = Request::get('template_multiple',$template_multiple) | |
| $template_add_num_answers = Request::quoted('template_add_num_answers') ? Request::quoted('template_add_num_answers') : $template_add_num_answers | |
| if(empty($template_answers))  if(!$template_id) if(Request::option('onthefly')&&($command=="delete"||$command=="add_answers"||$command=="delete_answers"||$command=="save2")) switch($command)  | $br = new HTMpty( "br" ) | 
| $tableA = new HTM ("table") | |
| $trA = new HTM( "tr" ) | |
| $tdA = new HTM( "td" ) | |
| $table = new HTM ("table") | |
| $tr = new HTM( "tr" ) | |
| $td = new HTM( "td" ) | |
| if($command) | $js = EvalCommon::createEvalShowJS( YES ) | 
| save1 | ( | $myuserid | ) | 

| if (empty($template_answers)) if (!$template_id) if (Request::option('onthefly')&&($command=="delete"||$command=="add_answers"||$command=="delete_answers"||$command=="save2")) switch ($command) $br = new HTMpty( "br" ) | 
| if (empty($rangeID)) $command = $lib->getPageCommand() | 
| $db = new EvaluationQuestionDB() | 
| if ($command) $js = EvalCommon::createEvalShowJS( YES ) | 
| $lib = new EvalTemplateGUI() | 
| $odb = new EvaluationObjectDB() | 
| $rangeID = ($rangeID) ? $rangeID : $SessSemName[1] | 
| $table = new HTM ("table") | 
| $tableA = new HTM ("table") | 
| $td = new HTM( "td" ) | 
| $tdA = new HTM( "td" ) | 
| $template_add_num_answers = Request::quoted('template_add_num_answers') ? Request::quoted('template_add_num_answers') : $template_add_num_answers | 
| $template_multiple = Request::get('template_multiple',$template_multiple) | 
| $template_type = Request::quoted('template_type') ? Request::quoted('template_type') : $template_type | 
| $tr = new HTM( "tr" ) | 
| $trA = new HTM( "tr" ) |