value = (float)$this->value; return $this->{strtolower($this->type)}(); } /** * @return string */ public function eq() { return $this->column . ' = ' . $this->value; } /** * @return string */ public function neq() { return $this->column . ' <> ' . $this->value; } /** * @return string */ public function gt() { return $this->column . ' > ' . $this->value; } /** * @return string */ public function egt() { return $this->column . ' >= ' . $this->value; } /** * @return string */ public function lt() { return $this->column . ' < ' . $this->value; } /** * @return string */ public function elt() { return $this->column . ' <= ' . $this->value; } }