original_string: public function render_progress_bar(progress_bar $bar) {
          global $PAGE;
          $data = $bar->export_for_template($this);
          return $this->render_from_template('core/progress_bar', $data);
      }
code: public function render_progress_bar(progress_bar $bar) {
          global $PAGE;
          $data = $bar->export_for_template($this);
          return $this->render_from_template('core/progress_bar', $data);
      }
code_tokens: public function render_progress_bar ( progress_bar $ bar ) { global $ PAGE ; $ data = $ bar -> export_for_template ( $ this ) ; return $ this -> render_from_template ( 'core/progress_bar' , $ data ) ; }
docstring: Renders a progress bar.
  
  Do not use $OUTPUT->render($bar), instead use progress_bar::create().
  
  @param  progress_bar $bar The bar.
  @return string HTML fragment
docstring_tokens: Renders a progress bar .