Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
EvalOverview Class Reference
Collaboration diagram for EvalOverview:
Collaboration graph

Public Member Functions

 EvalOverview ($db, $perm, $user)
 createMainTable ()
 createGroupTitle ($rowTitles, $returnRow=false, $state=false)
 createEvalRow ($eval, $number, $state, $open, $returnRow=false)
 createEvalContent ($eval, $number, $state, $safeguard)
 createInfoBox ($imgLogo)
 createHeader ($safeguard, $templates=NULL, $foundTable="")
 createNewEvalForm ()
 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

Member Function Documentation

callSafeguard (   $evalAction,
  $evalID = "",
  $showrangeID = NULL,
  $search = NULL,
  $referer = NULL 
)

Here is the call graph for this function:

createClosingRow ( )

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

createDomainLinks (   $search)

Here is the call graph for this function:

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:

Here is the caller graph for this function:

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

Test... public

Parameters
objectEvaluation $eval The evaluation

Here is the call graph for this function:

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 (   $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 (   $safeguard,
  $templates = NULL,
  $foundTable = "" 
)

Here is the call graph for this function:

createInfoBox (   $imgLogo)

Creates an infobox with image public

Parameters
string$imgLogoThe big logo at the top

Here is the call graph for this function:

Here is the caller graph for this function:

createInfoCol (   $text)

Creates a gray col with text public

Parameters
string$textThe information
createMainTable ( )
createNewEvalForm ( )

Here is the call graph for this function:

Here is the caller graph for this function:

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)

Here is the call graph for this function:

Here is the caller graph for this function:

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 ( )

Here is the call graph for this function:

Here is the caller graph for this function:

createShowRangeForm ( )

Here is the call graph for this function:

EvalOverview (   $db,
  $perm,
  $user 
)

Constructor public

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

checks which button was pressed

public

Returns
string the command

Field Documentation

object DatabaseObject $db

Databaseobject private

object Perm $perm

Permobject private

object User $user

Userobject private


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