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 = "" |
|
) |
| |
createEvalShowJS |
( |
|
$isPreview = NO , |
|
|
|
$as_object = YES |
|
) |
| |
Creates the Javascript function, which will open an evaluation popup
createEvalShowLink |
( |
|
$evalID, |
|
|
|
$content, |
|
|
|
$isPreview = NO , |
|
|
|
$as_object = YES |
|
) |
| |
Creates a link, which will open an evaluation popup
createImage |
( |
|
$imgURL, |
|
|
|
$imgALT, |
|
|
|
$extra = "" |
|
) |
| |
Creates a simple image for the normal top of an modulepage
- Parameters
-
string | $imgURL | The URL for the icon |
string | $imgALT | The description for the icon |
createReportMessage |
( |
|
$text, |
|
|
|
$imgURL, |
|
|
|
$cssClass |
|
) |
| |
Creates a reportmessage
- Parameters
-
string | $text | The text to show |
string | $imgURL | The image to show |
string | $cssClass | The css class for the text |
createSubmitButton |
( |
|
$text, |
|
|
|
$title, |
|
|
|
$name = "newButton" |
|
) |
| |
Creates this funny Stud.IP-Submitbutton
- Parameters
-
string | $text | The text on the button |
string | $title | The informationtext |
createTitle |
( |
|
$title, |
|
|
|
$iconURL = "" , |
|
|
|
$padding = 0 |
|
) |
| |
Creates this funny blue title bar
- Parameters
-
string | $title | The title |
string | $iconURL | The 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 | $day | The day |
integer | $month | The month |
integer | $year | The year |
integer | $hour | The hour (optional) |
integer | $minute | The minute (optional) |
integer | $second | The second (optional) |
- Returns
- integer If an error occurs -> -1. Otherwise the UNIX-timestamp
showErrorReport |
( |
& |
$object, |
|
|
|
$errortitle = "" |
|
) |
| |
Creates an errormessage from an object
- Parameters
-
object | StudipObejct $object A Stud.IP-object |
The documentation for this class was generated from the following file: