|
| __construct () |
|
| load (&$questionObject) |
|
| save (&$questionObject) |
|
| delete (&$questionObject) |
|
| exists ($questionID) |
|
| titleExists ($questionTitle, $userID) |
|
| addChildren (&$parentObject) |
|
| getType ($objectID) |
|
| getParentID ($objectID) |
|
| getTemplateID ($userID) |
|
| __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()
◆ addChildren()
addChildren |
( |
& |
$parentObject | ) |
|
Adds the children to a parent object public
- Parameters
-
◆ delete()
delete |
( |
& |
$questionObject | ) |
|
Deletes a question public
- Parameters
-
- Exceptions
-
◆ exists()
Checks if question with this ID exists public
- Parameters
-
string | $questionID | The questionID |
- Returns
- bool YES if exists
◆ getParentID()
Returns the id from the parent object public
- Parameters
-
string | $objectID | The object id |
- Returns
- string The id from the parent object
◆ getTemplateID()
Returns the ids of the Answertemplates of a user public
- Parameters
-
- Returns
- array The ids of the answertemplates
◆ getType()
Returns the type of an objectID public
- Parameters
-
string | $objectID | The objectID |
- Returns
- string INSTANCEOF_x, else NO
◆ load()
load |
( |
& |
$questionObject | ) |
|
Loads a question from the DB public
- Parameters
-
◆ save()
save |
( |
& |
$questionObject | ) |
|
Writes or updates a question into the DB public
- Parameters
-
◆ titleExists()
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: