column = $column; $this->value_from = $value_from; $this->value_to = $value_to; } protected function _appendExpressionToStatement(&$str, &$values, $conn) { $str .= $conn->quoteIdentifier($this->column) . ' BETWEEN '; $from_placeholder = $this->_makePlaceHolder('f' .$this->column . sizeof($values)); $to_placeholder = $this->_makePlaceHolder('t' .$this->column . sizeof($values)); $str .= ':' . $from_placeholder . ': AND :' . $to_placeholder . ':'; $values[$from_placeholder] = $this->value_from; $values[$to_placeholder] = $this->value_to; } } ?>