Stud.IP  trunk Revision
evaluation_admin_edit.inc.php File Reference

Namespaces

 evaluation
 

Variables

const NEW_EVALUATION_TITLE _("Neue Evaluation")
 
const FIRST_ARRANGMENT_BLOCK_TITLE _("Erster Gruppierungsblock")
 
 $debug
 
global $user
 
if(Request::submitted('newButton')) elseif(Request::option("evalID") &&(Request::option("evalID") !=NULL)) else
 
 $error
 
 $error_msgs [] = $error->createContent()
 
 $itemID = Request::option('itemID')
 
if($itemID) elseif(Request::submitted('newButton')) if(Request::option("rangeID")) $eval = new Evaluation($evalID, NULL, EVAL_LOAD_NO_CHILDREN)
 
if($eval->hasVoted()) $authorID = $eval->getAuthorID()
 
 $db = new EvaluationObjectDB()
 
if( $authorID !=$user->id) if($error_msgs) $templateSite = include(EVAL_FILE_TEMPLATE)
 
 $EditTree = new EvaluationTreeEditView($itemID, $evalID)
 
if(Request::submitted('newButton')) $editSite = $EditTree->showEvalTree($itemID,1)
 

Variable Documentation

◆ $authorID

if ( $eval->hasVoted()) $authorID = $eval->getAuthorID()

◆ $db

$db = new EvaluationObjectDB()

◆ $debug

Initial value:
= "<pre class=\"steelgroup6\" style=\"font-size:10pt\">"
. "<pre class=\"steelgroup3\" style=\"font-size:10pt\"><font color=\"purple\">"
. "Welcome to BugReport 1.02 "
. "<font align=\"right\" style=\"font-size:7pt\">[Sharewareversion]</font>"
. "</font></pre>"

◆ $editSite

if (Request::submitted( 'newButton')) $editSite = $EditTree->showEvalTree($itemID,1)

◆ $EditTree

$EditTree = new EvaluationTreeEditView($itemID, $evalID)

◆ $error

$error
Initial value:
_("Es wurde keine Evaluations-ID übergeben"),
_( 'Vertretungen')]
Definition: config.inc.php:90
const EVAL_PIC_ERROR
Definition: evaluation.config.php:104
static createReportMessage($text, $imgURL, $cssClass)
Definition: evaluation.lib.php:169
const EVAL_CSS_ERROR
Definition: evaluation.config.php:149

◆ $error_msgs

$error_msgs[] = $error->createContent()

◆ $eval

if ( $itemID) elseif (Request::submitted( 'newButton')) if (Request::option("rangeID")) $eval = new Evaluation($evalID, NULL, EVAL_LOAD_NO_CHILDREN)

◆ $itemID

$itemID = Request::option('itemID')

◆ $templateSite

if ($authorID !=$user->id) if ( $error_msgs) $templateSite = include(EVAL_FILE_TEMPLATE)

◆ $user

global $user

◆ else

if (Request::submitted( 'newButton')) elseif (Request::option("evalID") &&(Request::option("evalID") !=NULL)) else
Initial value:
{
$debug .= "keine evalID!<br>"
$debug
Definition: evaluation_admin_edit.inc.php:68

◆ FIRST_ARRANGMENT_BLOCK_TITLE

const FIRST_ARRANGMENT_BLOCK_TITLE _("Erster Gruppierungsblock")

FIRST_ARRANGMENT_BLOCK_TITLE title of a new arrangment block public

◆ NEW_EVALUATION_TITLE

const NEW_EVALUATION_TITLE _("Neue Evaluation")

NEW_EVALUATION_TITLE title of a new question block public