public function get_recordset() {
        global $DB;
        return $DB->get_recordset_sql($this->build_query(), $this->params, $this->limitfrom, $this->limitnum);
    }
public function get_recordset() {
        global $DB;
        return $DB->get_recordset_sql($this->build_query(), $this->params, $this->limitfrom, $this->limitnum);
    }
public function get_recordset ( ) { global $ DB ; return $ DB -> get_recordset_sql ( $ this -> build_query ( ) , $ this -> params , $ this -> limitfrom , $ this -> limitnum ) ; }
Get the recordset.

@return moodle_recordset
Get the recordset .