original_string: public static function get_tour_from_sortorder($sortorder) {
          global $DB;
  
          $tour = $DB->get_record('tool_usertours_tours', array('sortorder' => $sortorder));
          return tour::load_from_record($tour);
      }
code: public static function get_tour_from_sortorder($sortorder) {
          global $DB;
  
          $tour = $DB->get_record('tool_usertours_tours', array('sortorder' => $sortorder));
          return tour::load_from_record($tour);
      }
code_tokens: public static function get_tour_from_sortorder ( $ sortorder ) { global $ DB ; $ tour = $ DB -> get_record ( 'tool_usertours_tours' , array ( 'sortorder' => $ sortorder ) ) ; return tour :: load_from_record ( $ tour ) ; }
docstring: Fetch the tour with the specified sortorder.
  
  @param   int         $sortorder  The sortorder of the tour.
  @return  tour
docstring_tokens: Fetch the tour with the specified sortorder .