Public Member Functions |
| EvaluationQuestionDB () |
| load (&$questionObject) |
| save (&$questionObject) |
| delete (&$questionObject) |
| exists ($questionID) |
| titleExists ($questionTitle, $userID) |
| addChildren (&$parentObject) |
| getType ($objectID) |
| getParentID ($objectID) |
| getTemplateID ($userID) |
| EvaluationObjectDB () |
| 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) |
| DatabaseObject () |
| getObjectID () |
| setObjectID ($objectID) |
| getAuthorID () |
| setAuthorID ($authorID) |
| getRangeID () |
| setRangeID ($rangeID) |
| AuthorObject () |
| 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) |
Member Function Documentation
addChildren |
( |
& |
$parentObject | ) |
|
Adds the children to a parent object public
- Parameters
-
delete |
( |
& |
$questionObject | ) |
|
Deletes a question public
- Parameters
-
- Exceptions
-
Checks if question with this ID exists public
- Parameters
-
string | $questionID | The questionID |
- Returns
- bool YES if exists
Returns the id from the parent object public
- Parameters
-
string | $objectID | The object id |
- Returns
- string The id from the parent object
Returns the ids of the Answertemplates of a user public
- Parameters
-
- Returns
- array The ids of the answertemplates
Returns the type of an objectID public
- Parameters
-
string | $objectID | The objectID |
- Returns
- string INSTANCEOF_x, else NO
Reimplemented from EvaluationObjectDB.
load |
( |
& |
$questionObject | ) |
|
Loads a question from the DB public
- Parameters
-
save |
( |
& |
$questionObject | ) |
|
Writes or updates a question into the DB public
- Parameters
-
titleExists |
( |
|
$questionTitle, |
|
|
|
$userID |
|
) |
| |
Checks if a template exists with this title public
- Parameters
-
string | $questionTitle | The title of the question |
string | $userID | The user id |
- Returns
- bool YES if exists
The documentation for this class was generated from the following file: