original_string: public function get_user_completion($user_id, $criteria) {
          $params = array(
              'course'        => $this->course_id,
              'userid'        => $user_id,
              'criteriaid'    => $criteria->id,
          );
  
          $completion = new completion_criteria_completion($params);
          return $completion;
      }
code: public function get_user_completion($user_id, $criteria) {
          $params = array(
              'course'        => $this->course_id,
              'userid'        => $user_id,
              'criteriaid'    => $criteria->id,
          );
  
          $completion = new completion_criteria_completion($params);
          return $completion;
      }
code_tokens: public function get_user_completion ( $ user_id , $ criteria ) { $ params = array ( 'course' => $ this -> course_id , 'userid' => $ user_id , 'criteriaid' => $ criteria -> id , ) ; $ completion = new completion_criteria_completion ( $ params ) ; return $ completion ; }
docstring: Get completion object for a user and a criteria
  
  @param int $user_id User id
  @param completion_criteria $criteria Criteria object
  @return completion_criteria_completion
docstring_tokens: Get completion object for a user and a criteria