original_string: protected function getAutoSearchReset()
      {
          if ($menuItem = $this->menu->getCurrent()) {
              $link    = $menuItem->toActionLink($this->request, array('reset' => 1), $this->_('Reset search'));
  
              $element = new \MUtil_Form_Element_Html('reset');
              $element->setValue($link);
  
              return $element;
          }
      }
code: protected function getAutoSearchReset()
      {
          if ($menuItem = $this->menu->getCurrent()) {
              $link    = $menuItem->toActionLink($this->request, array('reset' => 1), $this->_('Reset search'));
  
              $element = new \MUtil_Form_Element_Html('reset');
              $element->setValue($link);
  
              return $element;
          }
      }
code_tokens: protected function getAutoSearchReset ( ) { if ( $ menuItem = $ this -> menu -> getCurrent ( ) ) { $ link = $ menuItem -> toActionLink ( $ this -> request , array ( 'reset' => 1 ) , $ this -> _ ( 'Reset search' ) ) ; $ element = new \ MUtil_Form_Element_Html ( 'reset' ) ; $ element -> setValue ( $ link ) ; return $ element ; } }
docstring: Creates a reset button for the search form
  
  @return \Zend_Form_Element_Html or null
docstring_tokens: Creates a reset button for the search form