public function getSqlValue($input = null)
    {
        $value = ($input !== null) ? $input : $this->value;
        if ($value === null) {
            return "";
        }
        /*
          if ($this->type != 'Number')
          {
          if (get_magic_quotes_gpc() == 0) {
          $val = addcslashes($value, "\000\n\r\\'\"\032");
          }
          return "'$value'";
          }
         */

        return $value;
    }