public function closeForm($includeFilterButton = true, $includeResetButton = true)
    {
        $buttons = '';
        if ($includeFilterButton) {
            $buttons .= $this->filterButton();
        }
        if ($includeResetButton) {
            $buttons .= ' ' . $this->resetButton();
        }
        $ret = $this->templater()->format('buttons', [
            'buttons' => $buttons
        ]);
        $ret .= $this->Form->end();

        return $ret;
    }
public function closeForm($includeFilterButton = true, $includeResetButton = true)
    {
        $buttons = '';
        if ($includeFilterButton) {
            $buttons .= $this->filterButton();
        }
        if ($includeResetButton) {
            $buttons .= ' ' . $this->resetButton();
        }
        $ret = $this->templater()->format('buttons', [
            'buttons' => $buttons
        ]);
        $ret .= $this->Form->end();

        return $ret;
    }
public function closeForm ( $ includeFilterButton = true , $ includeResetButton = true ) { $ buttons = '' ; if ( $ includeFilterButton ) { $ buttons .= $ this -> filterButton ( ) ; } if ( $ includeResetButton ) { $ buttons .= ' ' . $ this -> resetButton ( ) ; } $ ret = $ this -> templater ( ) -> format ( 'buttons' , [ 'buttons' => $ buttons ] ) ; $ ret .= $ this -> Form -> end ( ) ; return $ ret ; }
Closes the listfilter form

@param bool $includeFilterButton add the search button
@param bool $includeResetButton add the reset button
@return string
Closes the listfilter form