original_string: public static function make_file_url($urlbase, $path, $forcedownload = false) {
          $params = array();
          if ($forcedownload) {
              $params['forcedownload'] = 1;
          }
          $url = new moodle_url($urlbase, $params);
          $url->set_slashargument($path);
          return $url;
      }
code: public static function make_file_url($urlbase, $path, $forcedownload = false) {
          $params = array();
          if ($forcedownload) {
              $params['forcedownload'] = 1;
          }
          $url = new moodle_url($urlbase, $params);
          $url->set_slashargument($path);
          return $url;
      }
code_tokens: public static function make_file_url ( $ urlbase , $ path , $ forcedownload = false ) { $ params = array ( ) ; if ( $ forcedownload ) { $ params [ 'forcedownload' ] = 1 ; } $ url = new moodle_url ( $ urlbase , $ params ) ; $ url -> set_slashargument ( $ path ) ; return $ url ; }
docstring: General moodle file url.
  
  @param string $urlbase the script serving the file
  @param string $path
  @param bool $forcedownload
  @return moodle_url
docstring_tokens: General moodle file url .