|
| | __construct () |
| |
| | getRangename ($rangeID, $html_decode=true) |
| |
| | getGlobalPerm ($as_value=false) |
| |
| | getRangePerm ($rangeID, $userID=NULL, $as_value=false) |
| |
| | getValidRangeIDs (&$permObj, &$userObj, $rangeID) |
| |
| | getEvalUserRangesWithNoPermission (&$eval, $return_ids=false) |
| |
| | getPublicTemplateIDs ($searchString) |
| |
| | getEvaluationIDs ($rangeID="", $state="") |
| |
| | getEvalID ($objectID) |
| |
| | getType ($objectID) |
| |
| | __construct () |
| |
| | getObjectID () |
| |
| | setObjectID ($objectID) |
| |
| | getAuthorID () |
| |
| | setAuthorID ($authorID) |
| |
| | getRangeID () |
| |
| | setRangeID ($rangeID) |
| |
| | __construct () |
| |
| | finalize () |
| |
| | setAuthorEmail ($email) |
| |
| | getAuthorEmail () |
| |
| | setAuthorName ($name) |
| |
| | getAuthorName () |
| |
| | x_instanceof () |
| |
| | isError () |
| |
| | getErrors () |
| |
| | resetErrors () |
| |
| | throwError ($errcode, $errstring, $errline=0, $errfile=0, $errtype=ERROR_NORMAL) |
| |
| | throwErrorFromClass (&$class) |
| |
| | errorHandler ($no, $str, $file, $line, $ctx) |
| |
◆ __construct()
◆ getEvalID()
Gets the evaluation id for a object id @access public
- Parameters
-
| string | $objectID | The object id |
- Returns
- string The evaluation id or nothing
◆ getEvaluationIDs()
| getEvaluationIDs |
( |
|
$rangeID = "", |
|
|
|
$state = "" |
|
) |
| |
Return all evaluationIDs in a specific range
@access public
- Parameters
-
| string | $rangeID | Specific rangeID or it is a template |
| string | $state | Specific state |
- Returns
- array All evaluations in this range and this state
◆ getEvalUserRangesWithNoPermission()
| getEvalUserRangesWithNoPermission |
( |
& |
$eval, |
|
|
|
$return_ids = false |
|
) |
| |
Returns the number of ranges with no permission @access public
- Parameters
-
- Returns
- integer Number of ranges with no permission
◆ getGlobalPerm()
| getGlobalPerm |
( |
|
$as_value = false | ) |
|
Gets the global Studi.IP perm @access public
- Parameters
-
| boolean | $as_value | If YES return as value |
- Returns
- string the perm or NULL
◆ getPublicTemplateIDs()
| getPublicTemplateIDs |
( |
|
$searchString | ) |
|
Gets the public template ids @access public
- Parameters
-
| string | $searchString | The name of the template |
- Returns
- array The public template ids
◆ getRangename()
| getRangename |
( |
|
$rangeID, |
|
|
|
$html_decode = true |
|
) |
| |
Gets the name of the range. Copied somewhere from Stud.IP... @access public
- Parameters
-
| string | $rangeID | the rangeID |
| boolean | $html_decode | (optional) |
- Returns
- string The name of the range
◆ getRangePerm()
| getRangePerm |
( |
|
$rangeID, |
|
|
|
$userID = NULL, |
|
|
|
$as_value = false |
|
) |
| |
Get the Stud.IP-Perm for a range
- Parameters
-
| string | $rangeID | The range id |
| string | $userID | The user id |
| boolean | $as_value | If YES return as value @access public |
- Returns
- string
◆ getType()
◆ getValidRangeIDs()
| getValidRangeIDs |
( |
& |
$permObj, |
|
|
& |
$userObj, |
|
|
|
$rangeID |
|
) |
| |
Look for all rangeIDs for my permissions
- Parameters
-
| object | Perm &$permObj PHP-LIB-Perm-Object |
| object | User &$userObj PHP-LIB-User-Object |
| string | $rangeID | RangeID of actual page |
The documentation for this class was generated from the following file: