public function openFilterForm($usePost = false) {
		$this->_setFlagUsePost($usePost);
		$type = 'get';
		$dataToggle = 'pjax-form';
		if ($this->_getFlagUsePost()) {
			$type = 'post';
			$dataToggle = 'ajax-form';
		} else {
			$filterData = $this->getFilterData();
			if (!empty($filterData)) {
				$this->setFilterInputData($filterData);
			}
			$conditions = $this->getFilterConditions();
			if (!empty($conditions)) {
				$this->setFilterInputConditions($conditions);
			}
		}

		$options = [
			'data-toggle' => $dataToggle,
			'type' => $type,
		];
		$optionsDefault = $this->_getOptionsForElem('openFilterForm');
		$result = $this->ExtBs3Form->create(null, $options + $optionsDefault);

		return $result;
	}
public function openFilterForm($usePost = false) {
		$this->_setFlagUsePost($usePost);
		$type = 'get';
		$dataToggle = 'pjax-form';
		if ($this->_getFlagUsePost()) {
			$type = 'post';
			$dataToggle = 'ajax-form';
		} else {
			$filterData = $this->getFilterData();
			if (!empty($filterData)) {
				$this->setFilterInputData($filterData);
			}
			$conditions = $this->getFilterConditions();
			if (!empty($conditions)) {
				$this->setFilterInputConditions($conditions);
			}
		}

		$options = [
			'data-toggle' => $dataToggle,
			'type' => $type,
		];
		$optionsDefault = $this->_getOptionsForElem('openFilterForm');
		$result = $this->ExtBs3Form->create(null, $options + $optionsDefault);

		return $result;
	}
public function openFilterForm ( $ usePost = false ) { $ this -> _setFlagUsePost ( $ usePost ) ; $ type = 'get' ; $ dataToggle = 'pjax-form' ; if ( $ this -> _getFlagUsePost ( ) ) { $ type = 'post' ; $ dataToggle = 'ajax-form' ; } else { $ filterData = $ this -> getFilterData ( ) ; if ( ! empty ( $ filterData ) ) { $ this -> setFilterInputData ( $ filterData ) ; } $ conditions = $ this -> getFilterConditions ( ) ; if ( ! empty ( $ conditions ) ) { $ this -> setFilterInputConditions ( $ conditions ) ; } } $ options = [ 'data-toggle' => $ dataToggle , 'type' => $ type , ] ; $ optionsDefault = $ this -> _getOptionsForElem ( 'openFilterForm' ) ; $ result = $ this -> ExtBs3Form -> create ( null , $ options + $ optionsDefault ) ; return $ result ; }
Return HTML open tag of filter form.

@param bool $usePost If True, using POST request.
GET otherwise.
@return string HTML open tag of form.
Return HTML open tag of filter form .