Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
EvalCommon Class Reference

Static Public Member Functions

static createTitle ($title, $iconURL="", $padding=0)
 
static createImage ($imgURL, $imgALT, $extra="")
 
static createEvalShowJS ($isPreview=NO, $as_object=YES)
 
static createEvalShowLink ($evalID, $content, $isPreview=NO, $as_object=YES)
 
static createErrorReport (AuthorObject $object, string $errortitle= '')
 
static getRangeID ()
 
static date2timestamp ($day, $month, $year, $hour=0, $minute=0, $second=0)
 

Member Function Documentation

static createErrorReport ( AuthorObject  $object,
string  $errortitle = '' 
)
static
Parameters
$object
string$errortitle
Returns
MessageBox
static createEvalShowJS (   $isPreview = NO,
  $as_object = YES 
)
static

Creates the Javascript static function, which will open an evaluation popup

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

Creates a link, which will open an evaluation popup

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

Creates a simple image for the normal top of an modulepage

Parameters
string$imgURLThe URL for the icon
string$imgALTThe description for the icon
static createTitle (   $title,
  $iconURL = "",
  $padding = 0 
)
static

Creates this funny blue title bar

Parameters
string$titleThe title
string$iconURLThe URL for the icon
static 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
static getRangeID ( )
static

Returns the rangeID


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