| 
|   | __construct () | 
|   | 
|   | load (&$answerObject) | 
|   | 
|   | loadVotes (&$answerObject) | 
|   | 
|   | save (&$answerObject) | 
|   | 
|   | resetVotes (&$answerObject) | 
|   | 
|   | delete (&$answerObject) | 
|   | 
|   | exists ($answerID) | 
|   | 
|   | addChildren (&$parentObject) | 
|   | 
|   | getType ($objectID) | 
|   | 
|   | getParentID ($objectID) | 
|   | 
|   | getUserAnwerIDs ($questionID, $userID) | 
|   | 
|   | hasVoted ($answerID, $userID) | 
|   | 
|   | getAllAnswers ($question_id, $userID, $only_user_answered=false) | 
|   | 
|   | __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 @access public 
- Parameters
 - 
  
  
 
 
 
◆ delete()
      
        
          | delete  | 
          ( | 
          &  | 
          $answerObject | ) | 
           | 
        
      
 
Deletes a answer @access public 
- Parameters
 - 
  
  
 
- Exceptions
 - 
  
  
 
 
 
◆ exists()
Checks if answer with this ID exists @access public 
- Parameters
 - 
  
    | string | $answerID | The answerID  | 
  
   
- Returns
 - bool YES if exists 
 
 
 
◆ getAllAnswers()
      
        
          | getAllAnswers  | 
          ( | 
            | 
          $question_id,  | 
        
        
           | 
           | 
            | 
          $userID,  | 
        
        
           | 
           | 
            | 
          $only_user_answered = false  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ getParentID()
Returns the id from the parent object @access public 
- Parameters
 - 
  
    | string | $objectID | The object id  | 
  
   
- Returns
 - string The id from the parent object 
 
 
 
◆ getType()
Returns the type of an objectID @access public 
- Parameters
 - 
  
    | string | $objectID | The objectID  | 
  
   
- Returns
 - string INSTANCEOF_x, else NO 
 
Reimplemented from EvaluationObjectDB.
 
 
◆ getUserAnwerIDs()
      
        
          | getUserAnwerIDs  | 
          ( | 
            | 
          $questionID,  | 
        
        
           | 
           | 
            | 
          $userID  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Give all textanswers for a user and question for the export @access public 
- Parameters
 - 
  
    | string | $questionID | The question id  | 
    | string | $userID | The user id  | 
  
   
 
 
◆ hasVoted()
      
        
          | hasVoted  | 
          ( | 
            | 
          $answerID,  | 
        
        
           | 
           | 
            | 
          $userID  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Checks whether a user has voted for an answer @access public 
- Parameters
 - 
  
    | string | $answerID | The answer id  | 
    | string | $userID | The user id  | 
  
   
- Returns
 - boolean YES if user has voted for the answer 
 
 
 
◆ load()
Loads answers of a group from the DB @access public 
- Parameters
 - 
  
  
 
 
 
◆ loadVotes()
      
        
          | loadVotes  | 
          ( | 
          &  | 
          $answerObject | ) | 
           | 
        
      
 
Loads the votes from the users for this answer @access public 
- Parameters
 - 
  
  
 
 
 
◆ resetVotes()
      
        
          | resetVotes  | 
          ( | 
          &  | 
          $answerObject | ) | 
           | 
        
      
 
Deletes all votes from the users for this answers @access public 
- Parameters
 - 
  
  
 
 
 
◆ save()
Writes answers into the DB @access public 
- Parameters
 - 
  
  
 
- Exceptions
 - 
  
  
 
 
 
The documentation for this class was generated from the following file: