Stud.IP  5.4
 All Data Structures Namespaces Files Functions Variables Groups
eval_config.php File Reference

Variables

 $eval_id = Request::option('eval_id')
 
 $template_id = Request::option('template_id')
 
 $eval = new Evaluation($eval_id)
 
if(EvaluationObjectDB::getEvalUserRangesWithNoPermission($eval)==YES||count($eval->
errorArray) > 0) if(Request::submitted('store')) 
$query
 
 $statement = DBManager::get()->prepare($query)
 
 $templates = $statement->fetch(PDO::FETCH_ASSOC)
 
 $template = $GLOBALS['template_factory']->open('evaluation/config')
 
$template eval_id = $eval_id
 
$template templates = $templates
 
$template has_template = !empty($templates)
 

Variable Documentation

$eval = new Evaluation($eval_id)
if (EvaluationObjectDB::getEvalUserRangesWithNoPermission($eval)==YES||count($eval->errorArray) > 0) if (Request::submitted('store')) $query
Initial value:
= "SELECT template_id,
show_total_stats, show_graphics, show_questions, show_group_headline, show_questionblock_headline,
polscale_gfx_type, likertscale_gfx_type, mchoice_scale_gfx_type
FROM eval_templates AS t
JOIN eval_templates_eval AS te USING (template_id)
WHERE te.eval_id = ?"
$statement = DBManager::get()->prepare($query)
$template = $GLOBALS['template_factory']->open('evaluation/config')
$template_id = Request::option('template_id')
$templates = $statement->fetch(PDO::FETCH_ASSOC)
string id alias column for eval_id = $eval_id
$template has_template = !empty($templates)
$template templates = $templates