Stud.IP  trunk Revision
EvalOverview Class Reference
Collaboration diagram for EvalOverview:
Collaboration graph

Public Member Functions

 __construct ($db, $perm, $user)
 
 createMainTable ()
 
 createGroupTitle ($rowTitles, $returnRow=false, $state=false)
 
 createEvalRow ($eval, $number, $state, $open, $returnRow=false)
 
 createEvalContent ($eval, $number, $state, $safeguard)
 
 createHeader ($safeguard, $templates=NULL, $foundTable="")
 
 createShowRangeForm ()
 
 createSearchTemplateForm ()
 
 createInfoCol ($text)
 
 createClosingRow ()
 
 callSafeguard ($evalAction, $evalID="", $showrangeID=NULL, $search=NULL, $referer=NULL)
 
 createSafeguard ($sign, $text, $mode=NULL, $evalID=NULL, $showrangeID=NULL, $referer=NULL)
 
 createRuntimeSettings ($eval, $state, $style)
 
 createDomainSettings ($eval, $state, $style)
 
 createDomainLinks ($search)
 
 getPageCommand ()
 

Data Fields

 $db
 
 $perm
 
 $user
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $db,
  $perm,
  $user 
)

Constructor public

Parameters
objectDatabaseObject $db The database object
objectPerm $perm The permission object
objectUser $user The user object

Member Function Documentation

◆ callSafeguard()

callSafeguard (   $evalAction,
  $evalID = "",
  $showrangeID = NULL,
  $search = NULL,
  $referer = NULL 
)
Here is the call graph for this function:

◆ createClosingRow()

createClosingRow ( )

Creates a row with black line above (and "open all evals" link...?) public

◆ createDomainLinks()

createDomainLinks (   $search)
Here is the call graph for this function:

◆ createDomainSettings()

createDomainSettings (   $eval,
  $state,
  $style 
)

the current eval-ranges and the options to copy and link ranges

private

Parameters
$evalthe eval object
$statethe eval's state (EVAL_STATE_NEW, EVAL_STATE_ACTIVE, ...)
$stylethe background style
Returns
string the domain settings (html)
Here is the call graph for this function:

◆ createEvalContent()

createEvalContent (   $eval,
  $number,
  $state,
  $safeguard 
)

Test... public

Parameters
objectEvaluation $eval The evaluation

◆ createEvalRow()

createEvalRow (   $eval,
  $number,
  $state,
  $open,
  $returnRow = false 
)

Test... public

Parameters
objectEvaluation $eval The evaluation
string$number
string$state
string$open
boolean$returnRow
Here is the call graph for this function:

◆ createGroupTitle()

createGroupTitle (   $rowTitles,
  $returnRow = false,
  $state = false 
)

Creates the funny blue small titlerows public

Parameters
array$rowTitlesAn array with all col-titles
boolean$returnRowIf YES it returns the row not the table
string$state

◆ createHeader()

createHeader (   $safeguard,
  $templates = NULL,
  $foundTable = "" 
)

◆ createInfoCol()

createInfoCol (   $text)

Creates a gray col with text public

Parameters
string$textThe information

◆ createMainTable()

createMainTable ( )

◆ createRuntimeSettings()

createRuntimeSettings (   $eval,
  $state,
  $style 
)

prints the tables for the runtime settings (start date, stop date...)

private

Parameters
$evalthe eval object
$statethe eval's state (EVAL_STATE_NEW, EVAL_STATE_ACTIVE, ...)
$stylethe background style
Returns
string the runtime settings (html)

◆ createSafeguard()

createSafeguard (   $sign,
  $text,
  $mode = NULL,
  $evalID = NULL,
  $showrangeID = NULL,
  $referer = NULL 
)

creates the 'Safeguard'

private

Parameters
signstring Sign to draw (must be "ok" or "ausruf")
textstring The Text to draw
evalIDstring needed if you want to delete an evaluation (not needed)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createSearchTemplateForm()

createSearchTemplateForm ( )
Here is the call graph for this function:

◆ createShowRangeForm()

createShowRangeForm ( )
Here is the call graph for this function:

◆ getPageCommand()

getPageCommand ( )

checks which button was pressed

public

Returns
string the command
Here is the call graph for this function:

Field Documentation

◆ $db

object DatabaseObject $db

Databaseobject private

◆ $perm

object Perm $perm

Permobject private

◆ $user

object User $user

Userobject private


The documentation for this class was generated from the following file: