| 
    Stud.IP
    jlu_3.3 Revision
    
   | 
  
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() | |
| if($odb->getGlobalPerm()=="root") | else | 
| if(! $parentID) | $template_name = Request::get('template_name',$template_name) | 
| $template_type = Request::get('template_type') ? Request::get('template_type') : $template_type | |
| $template_multiple = Request::get('template_multiple',$template_multiple) | |
| $template_answers = Request::getArray('template_answers') | |
| $template_add_num_answers = Request::get('template_add_num_answers') ? Request::get('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::get('template_add_num_answers') ? Request::get('template_add_num_answers') : $template_add_num_answers | 
| $template_answers = Request::getArray('template_answers') | 
| $template_multiple = Request::get('template_multiple',$template_multiple) | 
| if (! $parentID) $template_name = Request::get('template_name',$template_name) | 
| $template_type = Request::get('template_type') ? Request::get('template_type') : $template_type | 
| $tr = new HTM( "tr" ) | 
| $trA = new HTM( "tr" ) |