Stud.IP  5.4
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

◆ createErrorReport()

static createErrorReport ( AuthorObject  $object,
string  $errortitle = '' 
)
static
Parameters
$object
string$errortitle
Returns
MessageBox

◆ createEvalShowJS()

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

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

◆ createEvalShowLink()

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

Creates a link, which will open an evaluation popup

◆ createImage()

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

◆ createTitle()

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

Creates this funny blue title bar

Parameters
string$titleThe title
string$iconURLThe URL for the icon

◆ date2timestamp()

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

◆ getRangeID()

static getRangeID ( )
static

Returns the rangeID


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