src/View/Helper/FilterHelper.php
public function render($model, array $fields = [], $element = self::DEFAULT_ELEMENT, array $data = [])
    {
        $data = Hash::merge([
            'clearUrl'   => [],
            'model'      => $model,
            'formFields' => $fields,
        ], $data);

        return $this->_View->element($element, $data);
    }
public function render($model, array $fields = [], $element = self::DEFAULT_ELEMENT, array $data = [])
    {
        $data = Hash::merge([
            'clearUrl'   => [],
            'model'      => $model,
            'formFields' => $fields,
        ], $data);

        return $this->_View->element($element, $data);
    }
public function render ( $ model , array $ fields = [ ] , $ element = self :: DEFAULT_ELEMENT , array $ data = [ ] ) { $ data = Hash :: merge ( [ 'clearUrl' => [ ] , 'model' => $ model , 'formFields' => $ fields , ] , $ data ) ; return $ this -> _View -> element ( $ element , $ data ) ; }
Render filter element.

@param string $model
@param array $fields
@param string $element
@param array $data
@return string
Render filter element .