Stud.IP
5.4
|
Namespaces | |
evaluation | |
Functions | |
save1 ($myuserid) | |
Variables | |
$db = new EvaluationQuestionDB() | |
$lib = new EvalTemplateGUI() | |
$rangeID = $rangeID ?? Context::getId() | |
if(empty($rangeID)) | $command = $lib->getPageCommand() |
if(EvaluationObjectDB::getGlobalPerm()==='root') | else |
if(empty($parentID)) | $template_name = Request::get('template_name', $template_name ?? null) |
$template_type = Request::get('template_type', $template_type ?? null) | |
$template_multiple = Request::get('template_multiple', $template_multiple ?? null) | |
$template_answers = Request::getArray('template_answers') | |
$template_add_num_answers = Request::int('template_add_num_answers', $template_add_num_answers ?? 0) | |
if(empty($template_answers)) if(empty($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") | |
$report = '' | |
if($command) | $js = EvalCommon::createEvalShowJS(YES) |
save1 | ( | $myuserid | ) | -> createContent() |
if (empty( $template_answers)) if (empty( $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() |
$rangeID = $rangeID ?? Context::getId() |
$report = '' |
$table = new HTM ("table") |
$tableA = new HTM ("table") |
$td = new HTM("td") |
$tdA = new HTM("td") |
$template_add_num_answers = Request::int('template_add_num_answers', $template_add_num_answers ?? 0) |
$template_answers = Request::getArray('template_answers') |
$template_multiple = Request::get('template_multiple', $template_multiple ?? null) |
if (empty( $parentID)) $template_name = Request::get('template_name', $template_name ?? null) |
$template_type = Request::get('template_type', $template_type ?? null) |
$tr = new HTM("tr") |
$trA = new HTM("tr") |