Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
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 (   $parent_id,
  $anz_nutzer,
  $question_type 
)
do_graph (   $data,
  $evalquestion_id 
)

drawing the graph for a evaluation question

Parameters
array()$data
string$evalquestion_id
do_graph_template ( )

returning the type of the graph

Returns
string
do_template (   $column)
freetype_answers (   $parent_id,
  $anz_nutzer 
)
groups (   $parent_id)
user_answers (   $evalanswer_id)
user_answers_residual (   $parent_id)

Variable Documentation

$eval = new Evaluation($eval_id)
$eval_templates = []
$pattern = ["'<img[\s]+[^>]*?src[\s]?=[\s\"\']+(.*?)[\"\']+.*?>'si"]
$query
Initial value:
= "SELECT eval_id, title, author_id, anonymous
FROM eval
WHERE eval_id = ?"
$replace = ["<fo:external-graphic src=\"url(\\1)\"/>"]
$statement = DBManager::get()->prepare($query)
if (EvaluationObjectDB::getEvalUserRangesWithNoPermission($eval)==YES||count($eval->errorArray) > 0) $tmp_path_export = $GLOBALS['TMP_PATH']
if ($evaluation=$statement->fetch(PDO::FETCH_ASSOC)) else
Initial value:
{
echo _("Evaluation NICHT vorhanden oder keine Rechte!")
_('Vertretungen')]
Definition: config_develop.inc.php:90