|
Stud.IP
trunk Revision
|
Namespaces | |
| namespace | evaluation |
Functions | |
| save1 ($myuserid) | |
Variables | |
| $db = new EvaluationQuestionDB() | |
| $lib = new EvalTemplateGUI() | |
| $rangeID = ($rangeID) ? $rangeID : Context::getId() | |
| 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 ) |
| const | EVAL_ROOT_TAG "[R]" |
| 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 : Context::getId() |
| $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" ) |
| if (! $command||$command=="back") else |
| const EVAL_ROOT_TAG "[R]" |
@const EVAL_ROOT_TAG Specifies the string for taging root templates @access public