Stud.IP  5.4
eval_summary.php File Reference

Functions

if(isset($cmd)) do_template ($column)
 
 do_graph_template ()
 
 do_graph ($data, $evalquestion_id)
 
 freetype_answers ($parent_id, $anz_nutzer)
 
 user_answers_residual ($parent_id)
 
 user_answers ($evalanswer_id)
 
 answers ($parent_id, $anz_nutzer, $question_type)
 
 groups ($parent_id)
 

Variables

 $eval_id = Request::option('eval_id')
 
 $ausgabeformat = Request::int('ausgabeformat', 1)
 
 $cmd = Request::option('cmd')
 
 $evalgroup_id = Request::option('evalgroup_id')
 
 $group_type = Request::option('group_type')
 
 $eval = new Evaluation($eval_id)
 
if(EvaluationObjectDB::getEvalUserRangesWithNoPermission($eval)==YES||count($eval->errorArray) > 0) $has_template = 0
 
 $eval_templates = []
 
 $question_type = ""
 
 $tmp_path_export = $GLOBALS['TMP_PATH']
 
 $query
 
 $statement = DBManager::get()->prepare($query)
 
if($ausgabeformat==2) $layout = $GLOBALS['template_factory']->open('layouts/base.php')
 
$layout content_for_layout = ob_get_clean()
 

Function Documentation

◆ answers()

answers (   $parent_id,
  $anz_nutzer,
  $question_type 
)

◆ do_graph()

do_graph (   $data,
  $evalquestion_id 
)

drawing the graph for a evaluation question

Parameters
array()$data
string$evalquestion_id

◆ do_graph_template()

do_graph_template ( )

returning the type of the graph

Returns
string

◆ do_template()

if (isset( $cmd)) do_template (   $column)

◆ freetype_answers()

freetype_answers (   $parent_id,
  $anz_nutzer 
)

◆ groups()

groups (   $parent_id)

◆ user_answers()

user_answers (   $evalanswer_id)

◆ user_answers_residual()

user_answers_residual (   $parent_id)

Variable Documentation

◆ $ausgabeformat

$ausgabeformat = Request::int('ausgabeformat', 1)

◆ $cmd

$cmd = Request::option('cmd')

◆ $eval

$eval = new Evaluation($eval_id)

◆ $eval_id

◆ $eval_templates

$eval_templates = []

◆ $evalgroup_id

$evalgroup_id = Request::option('evalgroup_id')

◆ $group_type

$group_type = Request::option('group_type')

◆ $has_template

if (EvaluationObjectDB::getEvalUserRangesWithNoPermission( $eval)==YES||count( $eval->errorArray) > 0) $has_template = 0

◆ $layout

if ( $ausgabeformat==2) $layout = $GLOBALS['template_factory']->open('layouts/base.php')

◆ $query

$query
Initial value:
= "SELECT eval_id, title, author_id, anonymous
FROM eval
WHERE eval_id = ?"

◆ $question_type

$question_type = ""

◆ $statement

$statement = DBManager::get()->prepare($query)

◆ $tmp_path_export

$tmp_path_export = $GLOBALS['TMP_PATH']

◆ content_for_layout

$layout content_for_layout = ob_get_clean()