Stud.IP  trunk Revision
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_AUSWERTUNG_GRAPH_FORMAT = Config::get()->EVAL_AUSWERTUNG_GRAPH_FORMAT ?: 'gif'
 
 $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 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_graph()

do_graph (   $data,
  $evalquestion_id 
)

drawing the graph for a evaluation question

Parameters
array()$data
string$evalquestion_id
Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_graph_template()

do_graph_template ( )

returning the type of the graph

Returns
string
Here is the caller graph for this function:

◆ do_template()

do_template (   $column)
Here is the caller graph for this function:

◆ freetype_answers()

freetype_answers (   $parent_id,
  $anz_nutzer 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ groups()

groups (   $parent_id)
Here is the call graph for this function:

◆ user_answers()

user_answers (   $evalanswer_id)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ user_answers_residual()

user_answers_residual (   $parent_id)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ $eval

$eval = new Evaluation($eval_id)

◆ $EVAL_AUSWERTUNG_GRAPH_FORMAT

$EVAL_AUSWERTUNG_GRAPH_FORMAT = Config::get()->EVAL_AUSWERTUNG_GRAPH_FORMAT ?: 'gif'

◆ $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!")
_( 'Vertretungen')]
Definition: config.inc.php:90