original_string: protected function move_tour($id) {
          require_sesskey();
  
          $direction = required_param('direction', PARAM_INT);
  
          $tour = tour::instance($id);
          self::_move_tour($tour, $direction);
  
          redirect(helper::get_list_tour_link());
      }
code: protected function move_tour($id) {
          require_sesskey();
  
          $direction = required_param('direction', PARAM_INT);
  
          $tour = tour::instance($id);
          self::_move_tour($tour, $direction);
  
          redirect(helper::get_list_tour_link());
      }
code_tokens: protected function move_tour ( $ id ) { require_sesskey ( ) ; $ direction = required_param ( 'direction' , PARAM_INT ) ; $ tour = tour :: instance ( $ id ) ; self :: _move_tour ( $ tour , $ direction ) ; redirect ( helper :: get_list_tour_link ( ) ) ; }
docstring: Move a tour up or down and redirect once complete.
  
  @param   int     $id     The tour to move.
docstring_tokens: Move a tour up or down and redirect once complete .