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);
    }
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);
    }
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 ) ; }
Fetch the tour with the specified sortorder.

@param   int         $sortorder  The sortorder of the tour.
@return  tour
Fetch the tour with the specified sortorder .