original_string: public function get_logs($limitfrom = 0, $limitnum = 0) {
          global $DB;
  
          \core_analytics\manager::check_can_manage_models();
  
          return $DB->get_records('analytics_models_log', array('modelid' => $this->get_id()), 'timecreated DESC', '*',
              $limitfrom, $limitnum);
      }
code: public function get_logs($limitfrom = 0, $limitnum = 0) {
          global $DB;
  
          \core_analytics\manager::check_can_manage_models();
  
          return $DB->get_records('analytics_models_log', array('modelid' => $this->get_id()), 'timecreated DESC', '*',
              $limitfrom, $limitnum);
      }
code_tokens: public function get_logs ( $ limitfrom = 0 , $ limitnum = 0 ) { global $ DB ; \ core_analytics \ manager :: check_can_manage_models ( ) ; return $ DB -> get_records ( 'analytics_models_log' , array ( 'modelid' => $ this -> get_id ( ) ) , 'timecreated DESC' , '*' , $ limitfrom , $ limitnum ) ; }
docstring: Returns the model logs data.
  
  @param int $limitfrom
  @param int $limitnum
  @return \stdClass[]
docstring_tokens: Returns the model logs data .