|
| | __construct ($objectID="", $parentObject=NULL, $loadChildren=EVAL_LOAD_NO_CHILDREN) |
| |
| | getNumberOfVotes () |
| |
| | getRows () |
| |
| | setRows ($rows) |
| |
| | getValue () |
| |
| | setValue ($value) |
| |
| | isResidual () |
| |
| | setResidual ($boolean) |
| |
| | vote ($userID) |
| |
| | addUserID ($userID) |
| |
| | getUserID () |
| |
| | getNextUserID () |
| |
| | getUserIDs () |
| |
| | isFreetext () |
| |
| | check () |
| |
| | toString () |
| |
| | __construct ($objectID="", $parentObject=NULL, $loadChildren=EVAL_LOAD_NO_CHILDREN) |
| |
| | setTitle ($title) |
| |
| | getTitle () |
| |
| | setText ($text) |
| |
| | getText () |
| |
| | setPosition ($position) |
| |
| | getPosition () |
| |
| | setParentObject (&$parentObject) |
| |
| | getParentObject () |
| |
| | getParentID () |
| |
| | setParentID ($parentID) |
| |
| | removeChildID ($childID) |
| |
| | addChild (&$child) |
| |
| & | getChild ($childID="") |
| |
| & | getNextChild () |
| |
| | getChildren () |
| |
| | getNumberChildren () |
| |
| | save () |
| |
| | delete () |
| |
| & | duplicate () |
| |
| | duplicate_init () |
| |
| | init ($objectID="") |
| |
| | load () |
| |
| | check () |
| |
| | getSpecialChildobjects (&$object, $instanceof, $reset=false) |
| |
| | toString () |
| |
| | __construct ($objectID="") |
| |
| | createNewID () |
| |
| | getObjectID () |
| |
| | setObjectID ($objectID) |
| |
| | getAuthorID () |
| |
| | getAuthor () |
| |
| | getFullname () |
| |
| | 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()
Constructor @access public
- Parameters
-
| string | $objectID | The ID of an existing answer |
| object | $parentObject | The parent object if exists |
| integer | $loadChildren | See const EVAL_LOAD_*_CHILDREN |
Reimplemented from EvaluationObject.
◆ addUserID()
Non-Anonymous vote for this answer @access public
- Parameters
-
◆ check()
Checks if object is in a valid state @access private
Reimplemented from EvaluationObject.
◆ getNextUserID()
Gets the next user @access public
- Returns
- string The next user id, otherwise NULL
◆ getNumberOfVotes()
Gets the number of votes for this answer @access public
- Returns
- string The counter of the answer
◆ getRows()
Gets the number of rows from freetext answers @access public
- Returns
- integer The number of rows
◆ getUserID()
Gets the first user and removes it @access public
- Returns
- string The first user id
◆ getUserIDs()
Gets all the user ids @access public
- Returns
- array An array full of user ids
◆ getValue()
Gets the value of an answer @access public
- Returns
- integer The value
◆ isFreetext()
@access public
- Returns
- integer YES, if the Answer is a textfield
◆ isResidual()
Checks whether the answer is a residual answer @access public
- Returns
- boolean YES if it is a residual answer
◆ setResidual()
Sets the answers as an residual answer @access public
- Parameters
-
| boolean | $boolean | YES to set it as a residual answer |
◆ setRows()
Gets the number of rows for freetext answers @access public
- Parameters
-
| integer | $rows | The number of rows |
◆ setValue()
Sets the value of an answer @access public
- Parameters
-
◆ toString()
◆ vote()
Vote for this answer @access public
- Parameters
-
◆ $residual
If true this is the residual answer for a question @access private
◆ $rows
If >0 the answer is a freetext with $rows rows @access private
◆ $userNum
The number of users voted for this answer @access private
◆ $userNumIterator
For internal use (getNextUserID) @access private
◆ $users
The userIDs of users who voted for this answer @access private
◆ $value
The value for an answer @access private
The documentation for this class was generated from the following file: