original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Get all of the steps in the tour.
  
  @param   int         $tourid     The tour that the step belongs to.
  @return  stdClass[]
docstring_tokens: Get all of the steps in the tour .