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

Public Member Functions

 createTitle ($title, $iconURL="", $padding=0)
 createImage ($imgURL, $imgALT, $extra="")
 createSubmitButton ($text, $title, $name="newButton")
 createEvalShowJS ($isPreview=NO, $as_object=YES)
 createEvalShowLink ($evalID, $content, $isPreview=NO, $as_object=YES)
 createReportMessage ($text, $imgURL, $cssClass)
 showErrorReport (&$object, $errortitle="")
 createErrorReport (&$object, $errortitle="")
 getRangeID ()

Static Public Member Functions

 date2timestamp ($day, $month, $year, $hour=0, $minute=0, $second=0)

Member Function Documentation

createErrorReport ( $object,
  $errortitle = "" 
)

Here is the call graph for this function:

Here is the caller graph for this function:

createEvalShowJS (   $isPreview = NO,
  $as_object = YES 
)

Creates the Javascript function, which will open an evaluation popup

Here is the caller graph for this function:

createEvalShowLink (   $evalID,
  $content,
  $isPreview = NO,
  $as_object = YES 
)

Creates a link, which will open an evaluation popup

Here is the caller graph for this function:

createImage (   $imgURL,
  $imgALT,
  $extra = "" 
)

Creates a simple image for the normal top of an modulepage

Parameters
string$imgURLThe URL for the icon
string$imgALTThe description for the icon

Here is the caller graph for this function:

createReportMessage (   $text,
  $imgURL,
  $cssClass 
)

Creates a reportmessage

Parameters
string$textThe text to show
string$imgURLThe image to show
string$cssClassThe css class for the text

Here is the caller graph for this function:

createSubmitButton (   $text,
  $title,
  $name = "newButton" 
)

Creates this funny Stud.IP-Submitbutton

Parameters
string$textThe text on the button
string$titleThe informationtext

Here is the call graph for this function:

Here is the caller graph for this function:

createTitle (   $title,
  $iconURL = "",
  $padding = 0 
)

Creates this funny blue title bar

Parameters
string$titleThe title
string$iconURLThe URL for the icon
date2timestamp (   $day,
  $month,
  $year,
  $hour = 0,
  $minute = 0,
  $second = 0 
)
static

Checks and transforms a date into a UNIX (r)(tm) timestamp public

Parameters
integer$dayThe day
integer$monthThe month
integer$yearThe year
integer$hourThe hour (optional)
integer$minuteThe minute (optional)
integer$secondThe second (optional)
Returns
integer If an error occurs -> -1. Otherwise the UNIX-timestamp

Here is the caller graph for this function:

getRangeID ( )

Returns the rangeID

Here is the call graph for this function:

showErrorReport ( $object,
  $errortitle = "" 
)

Creates an errormessage from an object

Parameters
objectStudipObejct $object A Stud.IP-object

Here is the call graph for this function:

Here is the caller graph for this function:


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