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