original_string: public static function get_comments() {
          global $DB, $USER;
  
          $comments = array();
          $records = $DB->get_records('assignfeedback_editpdf_quick', array('userid'=>$USER->id));
  
          return $records;
      }
code: public static function get_comments() {
          global $DB, $USER;
  
          $comments = array();
          $records = $DB->get_records('assignfeedback_editpdf_quick', array('userid'=>$USER->id));
  
          return $records;
      }
code_tokens: public static function get_comments ( ) { global $ DB , $ USER ; $ comments = array ( ) ; $ records = $ DB -> get_records ( 'assignfeedback_editpdf_quick' , array ( 'userid' => $ USER -> id ) ) ; return $ records ; }
docstring: Get all comments for the current user.
  @return array(comment)
docstring_tokens: Get all comments for the current user .