public static function get_steps($tourid) {
        $steps = cache::get_stepdata($tourid);

        $return = [];
        foreach ($steps as $step) {
            $return[$step->id] = step::load_from_record($step);
        }
        return $return;
    }
public static function get_steps($tourid) {
        $steps = cache::get_stepdata($tourid);

        $return = [];
        foreach ($steps as $step) {
            $return[$step->id] = step::load_from_record($step);
        }
        return $return;
    }
public static function get_steps ( $ tourid ) { $ steps = cache :: get_stepdata ( $ tourid ) ; $ return = [ ] ; foreach ( $ steps as $ step ) { $ return [ $ step -> id ] = step :: load_from_record ( $ step ) ; } return $ return ; }
Get all of the steps in the tour.

@param   int         $tourid     The tour that the step belongs to.
@return  stdClass[]
Get all of the steps in the tour .