public function getFilterConditions($plugin = null) {
		$filterData = null;
		$filterCond = null;
		if ($this->_controller->request->is('get')) {
			$filterData = $this->_controller->request->query('data.FilterData');
			$filterCond = $this->_controller->request->query('data.FilterCond');
		} elseif ($this->_controller->request->is('post')) {
			$filterData = $this->_controller->request->data('FilterData');
			$filterCond = $this->_controller->request->data('FilterCond');
		}
		$conditions = $this->_modelFilter->buildConditions($filterData, $filterCond, $plugin);

		return $conditions;
	}
public function getFilterConditions($plugin = null) {
		$filterData = null;
		$filterCond = null;
		if ($this->_controller->request->is('get')) {
			$filterData = $this->_controller->request->query('data.FilterData');
			$filterCond = $this->_controller->request->query('data.FilterCond');
		} elseif ($this->_controller->request->is('post')) {
			$filterData = $this->_controller->request->data('FilterData');
			$filterCond = $this->_controller->request->data('FilterCond');
		}
		$conditions = $this->_modelFilter->buildConditions($filterData, $filterCond, $plugin);

		return $conditions;
	}
public function getFilterConditions ( $ plugin = null ) { $ filterData = null ; $ filterCond = null ; if ( $ this -> _controller -> request -> is ( 'get' ) ) { $ filterData = $ this -> _controller -> request -> query ( 'data.FilterData' ) ; $ filterCond = $ this -> _controller -> request -> query ( 'data.FilterCond' ) ; } elseif ( $ this -> _controller -> request -> is ( 'post' ) ) { $ filterData = $ this -> _controller -> request -> data ( 'FilterData' ) ; $ filterCond = $ this -> _controller -> request -> data ( 'FilterCond' ) ; } $ conditions = $ this -> _modelFilter -> buildConditions ( $ filterData , $ filterCond , $ plugin ) ; return $ conditions ; }
Return database query condition from filter data

@param string $plugin Name of plugin for target model of filter.
@return array Return database query condition from filter data.
Return database query condition from filter data