protected function sqlConditions($buffer_id)
	{
		$first = true;

		if (isset($this->buffers[$buffer_id])) {
			echo $this->indent, $buffer_id;
			if ($this->no_parenthesis_in_conditions) {
				foreach ($this->buffers[$buffer_id] as $buf) {
					if ($first) {
						$first = false;
						echo ' ';
					} else {
						echo $this->sub_indent, "AND ";
					}
					echo $this->sqlBuffer($buf), "\n";
				}
			} else {
				foreach ($this->buffers[$buffer_id] as $buf) {
					if ($first) {
						$first = false;
						echo ' (';
					} else {
						echo $this->sub_indent, "AND (";
					}
					echo $this->sqlBuffer($buf), ")\n";
				}
			}
		}
	}