value = $value; } /** * Return column expression, ex) column = value * @return string */ function getExpression(){ return "$this->column_name = $this->value"; } function getValue(){ // TODO Escape value according to column type instead of variable type if(!is_numeric($this->value)) return "'".$this->value."'"; return $this->value; } function show(){ if(!$this->value) return false; return true; } } ?>