Stud.IP  5.4
evaluation_admin_template.inc.php File Reference

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)
 

Function Documentation

◆ save1()

save1 (   $myuserid) -> createContent()

Variable Documentation

◆ $br

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")

◆ $command

if (empty( $rangeID)) $command = $lib->getPageCommand()

◆ $db

$db = new EvaluationQuestionDB()

◆ $js

if ( $command) $js = EvalCommon::createEvalShowJS(YES)

◆ $lib

$lib = new EvalTemplateGUI()

◆ $rangeID

$rangeID = $rangeID ?? Context::getId()

◆ $report

$report = ''

◆ $table

$table = new HTM ("table")

◆ $tableA

$tableA = new HTM ("table")

◆ $td

$td = new HTM("td")

◆ $tdA

$tdA = new HTM("td")

◆ $template_add_num_answers

$template_add_num_answers = Request::int('template_add_num_answers', $template_add_num_answers ?? 0)

◆ $template_answers

$template_answers = Request::getArray('template_answers')

◆ $template_multiple

$template_multiple = Request::get('template_multiple', $template_multiple ?? null)

◆ $template_name

if (empty( $parentID)) $template_name = Request::get('template_name', $template_name ?? null)

◆ $template_type

$template_type = Request::get('template_type', $template_type ?? null)

◆ $tr

$tr = new HTM("tr")

◆ $trA

$trA = new HTM("tr")

◆ else

if (! $command||$command=="back") else
Initial value:
{
$myuserid = $user->id
if(count($users)===0)<?=_( 'Es wurden keine Benutzer gefunden.') ?></td ></tr ><? else:?><? foreach(array_values( $users) as $index=> $user
Definition: show_role.php:84