Gets the evaluation id for a object id public
- Parameters
-
string | $objectID | The object id |
- Returns
- string The evaluation id or nothing
getEvaluationIDs |
( |
|
$rangeID = "" , |
|
|
|
$state = "" |
|
) |
| |
Return all evaluationIDs in a specific range
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
static getEvalUserRangesWithNoPermission |
( |
& |
$eval, |
|
|
|
$return_ids = false |
|
) |
| |
|
static |
Returns the number of ranges with no permission public
- Parameters
-
- Returns
- array|integer Number of ranges with no permission or array of ids
static getGlobalPerm |
( |
|
$as_value = false | ) |
|
|
static |
Gets the global Studi.IP perm public
- Parameters
-
boolean | $as_value | If YES return as value |
- Returns
- string the perm or NULL
getPublicTemplateIDs |
( |
|
$searchString | ) |
|
Gets the public template ids public
- Parameters
-
string | $searchString | The name of the template |
- Returns
- array The public template ids
getRangename |
( |
|
$rangeID, |
|
|
|
$html_decode = true |
|
) |
| |
Gets the name of the range. Copied somewhere from Stud.IP... public
- Parameters
-
string | $rangeID | the rangeID |
boolean | $html_decode | (optional) |
- Returns
- string The name of the range
static getRangePerm |
( |
|
$rangeID, |
|
|
|
$userID = NULL , |
|
|
|
$as_value = false |
|
) |
| |
|
static |
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 public |
- Returns
- string
Returns the type of an objectID public
- Parameters
-
string | $objectID | The objectID |
- Returns
- string INSTANCEOF_x, else NO
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: