public function renderFilterbox($filters = null)
    {
        if ($filters) {
            $this->_filters = $filters;
        }

        $filterBox = $this->openContainer();
        $filterBox .= $this->openForm();
        $filterBox .= $this->renderAll();
        $filterBox .= $this->closeForm();
        $filterBox .= $this->closeContainer();

        $ret = $this->_View->element('ListFilter.wrapper', [
            'filterBox' => $filterBox,
            'options' => $this->config()
        ]);

        return $ret;
    }
public function renderFilterbox($filters = null)
    {
        if ($filters) {
            $this->_filters = $filters;
        }

        $filterBox = $this->openContainer();
        $filterBox .= $this->openForm();
        $filterBox .= $this->renderAll();
        $filterBox .= $this->closeForm();
        $filterBox .= $this->closeContainer();

        $ret = $this->_View->element('ListFilter.wrapper', [
            'filterBox' => $filterBox,
            'options' => $this->config()
        ]);

        return $ret;
    }
public function renderFilterbox ( $ filters = null ) { if ( $ filters ) { $ this -> _filters = $ filters ; } $ filterBox = $ this -> openContainer ( ) ; $ filterBox .= $ this -> openForm ( ) ; $ filterBox .= $ this -> renderAll ( ) ; $ filterBox .= $ this -> closeForm ( ) ; $ filterBox .= $ this -> closeContainer ( ) ; $ ret = $ this -> _View -> element ( 'ListFilter.wrapper' , [ 'filterBox' => $ filterBox , 'options' => $ this -> config ( ) ] ) ; return $ ret ; }
Render the complete filter widget

@param array $filters Filters to render. If none given, it uses a viewVar called "filters"
@return string
Render the complete filter widget