Fire/Sql/Filter.php
private function _addFilterComparison($firstObj, $firstProperty, $property, $value)
    {
        if ($firstObj && $firstProperty) {
            $this->_parseComparison(self::COMPARISON_LOGIC_WHERE, $property, $value);
        } else if (!$firstObj && $firstProperty) {
            $this->_parseComparison(self::COMPARISON_LOGIC_OR, $property, $value);
        } else {
            $this->_parseComparison(self::COMPARISON_LOGIC_AND, $property, $value);
        }
    }
private function _addFilterComparison($firstObj, $firstProperty, $property, $value)
    {
        if ($firstObj && $firstProperty) {
            $this->_parseComparison(self::COMPARISON_LOGIC_WHERE, $property, $value);
        } else if (!$firstObj && $firstProperty) {
            $this->_parseComparison(self::COMPARISON_LOGIC_OR, $property, $value);
        } else {
            $this->_parseComparison(self::COMPARISON_LOGIC_AND, $property, $value);
        }
    }
private function _addFilterComparison ( $ firstObj , $ firstProperty , $ property , $ value ) { if ( $ firstObj && $ firstProperty ) { $ this -> _parseComparison ( self :: COMPARISON_LOGIC_WHERE , $ property , $ value ) ; } else if ( ! $ firstObj && $ firstProperty ) { $ this -> _parseComparison ( self :: COMPARISON_LOGIC_OR , $ property , $ value ) ; } else { $ this -> _parseComparison ( self :: COMPARISON_LOGIC_AND , $ property , $ value ) ; } }
Adds a comparison to the filter from the queryString
@param boolean $firstObj
@param boolean $firstProperty
@param string $property
@param mixed $value
@return void
Adds a comparison to the filter from the queryString