public function createFilterForm($formInputs = null, $plugin = null, $usePrint = true, $exportType = null) {
		$result = '';
		if (empty($formInputs) || !is_array($formInputs)) {
			return $result;
		}

		if ($usePrint) {
			$urlOptions = $this->_getExtendOptionsPaginationUrl();
			if (!isset($this->Paginator->options['url'])) {
				$this->Paginator->options['url'] = [];
			}

			$this->Paginator->options['url'] = Hash::merge($this->Paginator->options['url'], $urlOptions);
		}

		$result .= $this->_createPaginationTableRow($formInputs);
		$result .= $this->_createFilterTableRow($formInputs, $plugin, $usePrint, $exportType);

		return $result;
	}
public function createFilterForm($formInputs = null, $plugin = null, $usePrint = true, $exportType = null) {
		$result = '';
		if (empty($formInputs) || !is_array($formInputs)) {
			return $result;
		}

		if ($usePrint) {
			$urlOptions = $this->_getExtendOptionsPaginationUrl();
			if (!isset($this->Paginator->options['url'])) {
				$this->Paginator->options['url'] = [];
			}

			$this->Paginator->options['url'] = Hash::merge($this->Paginator->options['url'], $urlOptions);
		}

		$result .= $this->_createPaginationTableRow($formInputs);
		$result .= $this->_createFilterTableRow($formInputs, $plugin, $usePrint, $exportType);

		return $result;
	}
public function createFilterForm ( $ formInputs = null , $ plugin = null , $ usePrint = true , $ exportType = null ) { $ result = '' ; if ( empty ( $ formInputs ) || ! is_array ( $ formInputs ) ) { return $ result ; } if ( $ usePrint ) { $ urlOptions = $ this -> _getExtendOptionsPaginationUrl ( ) ; if ( ! isset ( $ this -> Paginator -> options [ 'url' ] ) ) { $ this -> Paginator -> options [ 'url' ] = [ ] ; } $ this -> Paginator -> options [ 'url' ] = Hash :: merge ( $ this -> Paginator -> options [ 'url' ] , $ urlOptions ) ; } $ result .= $ this -> _createPaginationTableRow ( $ formInputs ) ; $ result .= $ this -> _createFilterTableRow ( $ formInputs , $ plugin , $ usePrint , $ exportType ) ; return $ result ; }
Returns a row of table header with pagination links and
filter form.

@param array $formInputs Array of inputs for filter form in format:
- `key`: field of filter in format `model.field`;
- `value`: HTML options for pagination link and filter input.
If pagination field is not equal filter form input field, use
option: `pagination-field` => `model.field`.
For disable pagination and filter form input, use option: `disabled` => true.
For setting class of header cell, use option `class-header` => `class-name`.
For setting class of pagination link, use option `class` => `class-name`.
For exclude form input, use option: `not-use-input` => true.
For escaping of title and attributes set escape to false to disable: `escape` => false.

@param string $plugin Name of plugin for target model of filter.
@param bool $usePrint If True, display Print button (default True).
@param string $exportType Extension of exported file, for display Export button.

@return string Row of table header.
Returns a row of table header with pagination links and filter form .