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;
        }
    }
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;
        }
    }
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 ; } }
Creates a reset button for the search form

@return \Zend_Form_Element_Html or null
Creates a reset button for the search form