original_string: protected function render_reset_button() {
  
          if (!$this->can_be_reset()) {
              return '';
          }
  
          $url = $this->baseurl->out(false, array($this->request[TABLE_VAR_RESET] => 1));
  
          $html  = html_writer::start_div('resettable mdl-right');
          $html .= html_writer::link($url, get_string('resettable'));
          $html .= html_writer::end_div();
  
          return $html;
      }
code: protected function render_reset_button() {
  
          if (!$this->can_be_reset()) {
              return '';
          }
  
          $url = $this->baseurl->out(false, array($this->request[TABLE_VAR_RESET] => 1));
  
          $html  = html_writer::start_div('resettable mdl-right');
          $html .= html_writer::link($url, get_string('resettable'));
          $html .= html_writer::end_div();
  
          return $html;
      }
code_tokens: protected function render_reset_button ( ) { if ( ! $ this -> can_be_reset ( ) ) { return '' ; } $ url = $ this -> baseurl -> out ( false , array ( $ this -> request [ TABLE_VAR_RESET ] => 1 ) ) ; $ html = html_writer :: start_div ( 'resettable mdl-right' ) ; $ html .= html_writer :: link ( $ url , get_string ( 'resettable' ) ) ; $ html .= html_writer :: end_div ( ) ; return $ html ; }
docstring: Generate the HTML for the table preferences reset button.
  
  @return string HTML fragment, empty string if no need to reset
docstring_tokens: Generate the HTML for the table preferences reset button .