|
| __construct () |
|
| load (&$evalObject) |
|
| save (&$evalObject) |
|
| delete (&$evalObject) |
|
| exists ($evalID) |
|
| hasVoted ($evalID, $userID="") |
|
| getType ($objectID) |
|
| connectWithUser ($evalID, $userID) |
|
| removeUser ($evalID, $userID="") |
|
| getUserVoted ($evalID, $answerIDs=array(), $questionIDs=array()) |
|
| search_range ($search_str) |
|
| __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()
◆ connectWithUser()
connectWithUser |
( |
|
$evalID, |
|
|
|
$userID |
|
) |
| |
Connect a user with an evaluation public
- Parameters
-
string | $evalID | The evaluation id |
string | $userID | The user id |
◆ delete()
Deletes an evaluation public
- Parameters
-
object | Evaluation &$evalObject The evaluation to delete |
- Exceptions
-
◆ exists()
Checks if evaluation with this ID exists public
- Parameters
-
- Returns
- bool YES if exists
◆ getNumberOfVotes()
static getNumberOfVotes |
( |
|
$evalID | ) |
|
|
static |
Get number of users who participated in the eval public
- Parameters
-
- Returns
- integer The number of users
◆ getType()
Returns the type of an objectID public
- Parameters
-
string | $objectID | The objectID |
- Returns
- string INSTANCEOF_x, else NO
◆ getUserVoted()
getUserVoted |
( |
|
$evalID, |
|
|
|
$answerIDs = array () , |
|
|
|
$questionIDs = array () |
|
) |
| |
Get users who participated in the eval public
- Parameters
-
string | $evalID | The eval id |
array | $answerIDs | The answerIDs to get the pseudonym users |
- Returns
- integer The number of users
◆ hasVoted()
hasVoted |
( |
|
$evalID, |
|
|
|
$userID = "" |
|
) |
| |
Checks if someone used the evaluation public
- Parameters
-
string | $evalID | The eval id |
string | $userID | The user id |
- Returns
- bool YES if evaluation was used
◆ load()
Loads an evaluation from DB into an object
public
- Parameters
-
- Exceptions
-
◆ removeUser()
removeUser |
( |
|
$evalID, |
|
|
|
$userID = "" |
|
) |
| |
Removes the connection of an evaluation with a user or all users public
- Parameters
-
string | $evalID | The evaluation id |
string | $userID | The user id |
◆ save()
Saves an evaluation public
- Parameters
-
object | Evaluation &$evalObject The evaluation to save |
- Exceptions
-
◆ search_range()
search_range |
( |
|
$search_str | ) |
|
public
- Parameters
-
- Returns
- array
The documentation for this class was generated from the following file: