public function addBetweenCondition($column, $start, $end, $link = 'AND') {
        $this->conditionColumns[] = $column;
        return $this->addCondition($this->_column($column) . ' BETWEEN ' . $this->_param($column, $start) . ' AND ' . $this->_param($column, $end), array(), $link);
    }
public function addBetweenCondition($column, $start, $end, $link = 'AND') {
        $this->conditionColumns[] = $column;
        return $this->addCondition($this->_column($column) . ' BETWEEN ' . $this->_param($column, $start) . ' AND ' . $this->_param($column, $end), array(), $link);
    }
public function addBetweenCondition ( $ column , $ start , $ end , $ link = 'AND' ) { $ this -> conditionColumns [ ] = $ column ; return $ this -> addCondition ( $ this -> _column ( $ column ) . ' BETWEEN ' . $ this -> _param ( $ column , $ start ) . ' AND ' . $ this -> _param ( $ column , $ end ) , array ( ) , $ link ) ; }
Adds a new condition that compares value of a column be between to other values.
@param string $column Name of the column to be compared
@param int $start Minimum value
@param int $end Maximum value
@param string $link Connection to existent condition
@return \mpf\datasources\sql\ModelCondition
Adds a new condition that compares value of a column be between to other values .