| 
    Stud.IP
    trunk Revision
    
   | 
  
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 | 
| answers | ( | $parent_id, | |
| $anz_nutzer, | |||
| $question_type | |||
| ) | 


| do_graph | ( | $data, | |
| $evalquestion_id | |||
| ) | 
drawing the graph for a evaluation question
| array() | $data | |
| string | $evalquestion_id | 


| do_graph_template | ( | ) | 
returning the type of the graph

| do_template | ( | $column | ) | 

| freetype_answers | ( | $parent_id, | |
| $anz_nutzer | |||
| ) | 


| groups | ( | $parent_id | ) | 


| user_answers | ( | $evalanswer_id | ) | 


| user_answers_residual | ( | $parent_id | ) | 


| $eval = new Evaluation($eval_id) | 
| $EVAL_AUSWERTUNG_GRAPH_FORMAT = Config::get()->EVAL_AUSWERTUNG_GRAPH_FORMAT ?: 'gif' | 
| $eval_id = Request::option('eval_id') | 
| $eval_templates = [] | 
| $has_template = 0 | 
| $query | 
| $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 |