Stud.IP  5.4
eval_summary_export.php File Reference

Functions

 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')
 
 $eval = new Evaluation($eval_id)
 
if(EvaluationObjectDB::getEvalUserRangesWithNoPermission($eval)==YES||count($eval->errorArray) > 0) $tmp_path_export = $GLOBALS['TMP_PATH']
 
 $eval_templates = []
 
 $has_template = 0
 
 $pattern = ["'<img[\s]+[^>]*?src[\s]?=[\s\"\']+(.*?)[\"\']+.*?>'si"]
 
 $replace = ["<fo:external-graphic src=\"url(\\1)\"/>"]
 
 $query
 
 $statement = DBManager::get()->prepare($query)
 
if($evaluation=$statement->fetch(PDO::FETCH_ASSOC)) else
 

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

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

◆ $eval

$eval = new Evaluation($eval_id)

◆ $eval_id

◆ $eval_templates

$eval_templates = []

◆ $has_template

◆ $pattern

$pattern = ["'<img[\s]+[^>]*?src[\s]?=[\s\"\']+(.*?)[\"\']+.*?>'si"]

◆ $query

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

◆ $replace

$replace = ["<fo:external-graphic src=\"url(\\1)\"/>"]

◆ $statement

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

◆ $tmp_path_export

if (EvaluationObjectDB::getEvalUserRangesWithNoPermission( $eval)==YES||count( $eval->errorArray) > 0) $tmp_path_export = $GLOBALS['TMP_PATH']

◆ else

if ( $evaluation=$statement->fetch(PDO::FETCH_ASSOC)) else
Initial value:
{
echo _("Evaluation NICHT vorhanden oder keine Rechte!")
title _
Definition: likert_evaluation.php:102