Commit graph

38 commits

Author SHA1 Message Date
Kijin Sung
7ac2312eb7 Use getInternalDateTime() as default time value for DB insert 2016-02-12 09:21:53 +09:00
Kijin Sung
15d3ba7ca1 PHP 5 방식의 생성자 (__construct) 사용 2015-04-01 11:30:04 +09:00
khongchi
540da2c75c #85, time()을 $_SERVER['REQUEST_TIME']으로 대체 2013-11-21 16:14:13 +09:00
akasima
bce0a0b6d4 copyright add to php files
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13186 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-08 05:52:51 +00:00
ngleader
dbc18a4f99 change author
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13180 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-07 02:42:42 +00:00
flyskyko
ba9800ff34 issue 2119. supporting php 5.4. widget and xml classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12697 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-05 03:25:47 +00:00
ovclas
d5a46e5e90 issue 262 coding convention in classes
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12230 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-15 07:19:11 +00:00
ovclas
ebc5edeec7 add phpDoc comment
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10780 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-06-19 08:53:24 +00:00
ucorina
1bc92129b0 Issue 1851: Fix PHP Warnings and notices in DB Classes
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10537 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-04-06 09:47:45 +00:00
ucorina
51220d52d0 Issue 1669: [1.5.2] Query problem if there are columns have a same name and different types in joined tables.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10432 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-14 15:42:24 +00:00
ngleader
80b8a46e0c Issue 1548 Syntax error on query cache with using alias.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10216 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-02-27 08:23:03 +00:00
ucorina
1d574bf4fe DB Update statement fix - add quotes arround curdate().
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9779 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-27 12:14:13 +00:00
ucorina
9f24618740 Issue 581: Can not login after r9685
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9702 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-20 15:28:34 +00:00
ucorina
e41941ccd2 Issue 524 - Query error - fix for ipaddess.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9687 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-19 12:43:18 +00:00
ucorina
e8741e7cb6 Issue 491: 1.5.0.5 설치우 버그?
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9643 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-13 14:53:30 +00:00
ucorina
308d1606a7 Issue 388 - Query cache error related table alias
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9544 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-10 15:54:09 +00:00
ucorina
cc7477d4e3 Fixed issue with numbers showing up in query argument validator messages.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9484 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-04 16:21:38 +00:00
ucorina
36211cb65b Issue 343 - Problem when condition have var and default attribute both.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9482 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-04 14:50:26 +00:00
ucorina
e1bf4523c7 Moved call to getDBParser from XmlQueryParser.class.php to DB.class.php - because otherwise the XmlQueryParser would have been included even when it was not needed.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9139 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-09 15:05:29 +00:00
ucorina
f9ab723f57 QueryArgument - Removed a call to a function that no longer exists.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9067 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-06 15:53:14 +00:00
ucorina
33df36e715 Query cache file - added condition to skip null arguments that do not need validation and are not mandatory.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9066 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-06 15:50:30 +00:00
ucorina
833dcfae37 Updated the way DB class files are included.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9034 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-05 14:15:20 +00:00
ucorina
056afa28d6 Fix - removed static class property from QueryArgument class (for PHP 4 compatibility).
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8701 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-29 08:15:36 +00:00
ucorina
cfc7d32afd Update to query argument naming - so that queries that have the same variable name specified in the XML will not fail.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8658 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-26 14:40:46 +00:00
ucorina
b3c75ac4db Fixed a few MSSQL bugs - related to array query arguments and increment columns.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8632 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-25 15:35:43 +00:00
ucorina
7de48344cc Fixed select bug - unless default value is explicitly set as empty string, ignore arguments whose value is empty string.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8624 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-22 11:50:08 +00:00
ucorina
98a85cdaa9 Fixed insert bug - nextSequnce was not properly retrieved.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8608 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-19 11:54:58 +00:00
ucorina
76019a4b2b Started unit tests for condition and argument classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8577 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-07 14:34:56 +00:00
lickawtl
013ada255d fix Argument and Condition argument type
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8562 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-05 08:15:27 +00:00
ucorina
0cd318fcf5 Removed legacy methods from DB and DBCubrid classes.
Added Query object to hold together query parts. 
Updated structure of query cache file to return Query object. 
Added support for array query arguments - used in the IN clause.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8438 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 13:06:08 +00:00
lickawtl
23e991bec0 Bug fixes:
DBCubrid.class.php - remove "WHERE" clause when all conditions are empty
queryargument/QueryArgument.class.php and queryargument/validator/QueryArgumentValidator.class.php - this is for backwords compatibility - there are many xml files that have variable names (var) given with "."
table/TableTag.class.php - autocomplete default table name alias with table name.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8426 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-01 12:51:13 +00:00
mosmartin
4d2d18b53b Fixed condition group bug.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8394 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 14:45:00 +00:00
mosmartin
c40ccf777f Fixed condition tag bug.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8393 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 09:28:18 +00:00
mosmartin
abba8761cc fixed an issue when default argument name is column name
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8391 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 08:42:16 +00:00
mosmartin
a8bed44a83 Cleaned up some classes that weren't needed. Removed calls to getValidatorString from tags, since the argument escaping is now done directly in the QueryParser class.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8390 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 08:18:19 +00:00
mosmartin
d3067703a4 Fixed join condidition bug: if the user specifies the "pipe" attribute of a condition in a join cause, it should be ignored (otherwise the sql string is like INNER JOIN ... ON AND a = b). Fixed order by bug.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8387 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-20 12:24:50 +00:00
mosmartin
0f61e5d499 Included some missing classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8383 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 15:31:47 +00:00
mosmartin
7dbe0626b6 Update new xml query classes with xe 1.5
with improved query argument support and update and delete queries

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8378 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 13:06:56 +00:00