original_string: public static function get_new_step_link($tourid, $targettype = null) {
          $link = new \moodle_url('/admin/tool/usertours/configure.php');
          $link->param('action', manager::ACTION_NEWSTEP);
          $link->param('tourid', $tourid);
          $link->param('targettype', $targettype);
  
          return $link;
      }
code: public static function get_new_step_link($tourid, $targettype = null) {
          $link = new \moodle_url('/admin/tool/usertours/configure.php');
          $link->param('action', manager::ACTION_NEWSTEP);
          $link->param('tourid', $tourid);
          $link->param('targettype', $targettype);
  
          return $link;
      }
code_tokens: public static function get_new_step_link ( $ tourid , $ targettype = null ) { $ link = new \ moodle_url ( '/admin/tool/usertours/configure.php' ) ; $ link -> param ( 'action' , manager :: ACTION_NEWSTEP ) ; $ link -> param ( 'tourid' , $ tourid ) ; $ link -> param ( 'targettype' , $ targettype ) ; return $ link ; }
docstring: Get the link ot create a new step.
  
  @param   int         $tourid     The ID of the tour to attach this step to.
  @param   int         $targettype The type of target.
  
  @return  moodle_url              The required URL.
docstring_tokens: Get the link ot create a new step .