Commit graph

240 commits

Author SHA1 Message Date
Kijin Sung
db72b670d8 Replace XE XML parser with new implementation based on SimpleXML 2025-05-17 12:44:04 +09:00
Kijin Sung
074873d844 Fix deprecation warning in PHP 8.4 2025-03-05 20:24:09 +09:00
Kijin Sung
c27a1d803b Fix #2176 error in unnecessary count() 2023-09-01 23:15:53 +09:00
Kijin Sung
dfa1e93c79 Remove unnecessary header and footer from class files
- 아래에 이미 author 언급이 있으므로 중복되는 저작권 표기는 제거
- 클래스 하단에 불필요한 end of file 표시 제거 (파일 하나에 클래스 하나씩이므로
  파일이 중간에 끊겼다면 클래스가 닫히지 않아 쉽게 알 수 있음)
2023-01-30 23:52:23 +09:00
Kijin Sung
c881e73c1d Remove trailing whitespace in legacy class files 2023-01-17 21:07:55 +09:00
Kijin Sung
651238916b Fix deprecation warnings in PHP 8.2 2023-01-17 00:15:12 +09:00
Kijin Sung
e0a041bb3d Fix deprecation warnings in PHP 8.2 2023-01-16 22:42:04 +09:00
Kijin Sung
7e82d37cfa Fix PHP warnings due to unitiated variables #1866 thanks to @Erictoby 2022-02-04 01:41:56 +09:00
Kijin Sung
29c851d124 Fix #1855 incorrect type hint in comment for XeXmlParser 2022-01-27 21:43:05 +09:00
Kijin Sung
686699c2ee Fix warning in PHP 8.0 2021-02-08 21:16:49 +09:00
Kijin Sung
b0f66a36c5 Convert all instances of _XE_PATH_, __XE_VERSION__, etc. to Rhymix constants
_XE_PATH_ -> RX_BASEDIR
__XE_VERSION__ -> RX_VERSION
2020-12-18 15:21:23 +09:00
Kijin Sung
7d8a546b64 Fix #1470 misc errors in PHP 8.0 2020-11-30 21:56:15 +09:00
Kijin Sung
68ef362789 Fix duplicate loading of XmlParser class 2020-10-31 02:30:39 +09:00
Kijin Sung
417e4d15b0 More fixes to improve PHP 8.0 compatibility 2020-10-31 00:40:28 +09:00
Kijin Sung
8c161bc28d Various fixes to improve PHP 8.0 compatibility
- XmlParser 클래스가 PHP 내장 클래스가 되어버려서 XeXmlParser로 변경
- 함수나 파라미터의 형태가 맞지 않아서 치명적인 오류 나는 곳 수정
- undefined 변수 및 배열 키 다수 수정 (치명적인 오류는 아님)
- 계속 수정중...
2020-10-31 00:25:26 +09:00
Kijin Sung
ad5169bc7a Remove legacy DB classes and XML query parser classes 2020-06-30 12:20:12 +09:00
conory
6d081b9fec XML쿼리에서 CAST(regdate as DATE) 와 같은 함수 사용시 발생하는 오류 수정
datatype도 escape되는 바람에 발생된 문제로, 우선 대문자에 한하여 escape 되지 않도록 수정하였습니다.
주석에 떡하니 된다고 해놓고 실제로는...
2018-09-15 00:58:50 +09:00
Kijin Sung
20fa55a3fc Support HAVING in XML queries
GROUP BY에 사용되는 <groups> 태그 안에 <having> 태그를 넣을 수 있습니다.
문법은 <conditions> 부분에 적용되는 것과 같습니다.

<query id="queryId" action="select">
    ...
    <groups>
        <group column="document_srl" />
        <having>
            <condition operation="more" column="document_srl" var="myvar" default="0" />
        </having>
    </groups>
    ...
</query>

결과: SELECT ... GROUP BY document_srl HAVING document_srl >= 0
2018-07-03 15:40:52 +09:00
Kijin Sung
2b5cded376 Remove commented debug code 2018-07-02 16:41:13 +09:00
Kijin Sung
3359431d08 Allow nested condition groups
XML 쿼리에서 <conditions><group> 안에 <group> 태그를 또 쓸 수 있도록 허용함.
이제 WHERE (a AND (b OR (c AND d))) 이런 조건을 작성할 수 있음.
2018-06-30 23:01:55 +09:00
Kijin Sung
efa1b603c4 Condition pipe defaults to AND
XML 쿼리 작성시 pipe="and"를 일일이 추가하지 않아도 기본값이 AND가 되도록 함
2018-06-30 15:55:06 +09:00
BJRambo
6496055581 각종 PHP 7.2 에서 나는 워닝에러를 고침 2018-01-25 20:57:01 +09:00
BJRambo
f2d2867069 PHP7.2 count 관련 워닝에러를 고침. 2018-01-24 16:26:57 +09:00
Kijin Sung
e0d7ae3641 Fix fatal error when using index hint with mysqli, mysqli_innodb, etc. 2018-01-04 12:07:45 +09:00
Kijin Sung
1a81fd43f3 Convert Object class to BaseObject in core classes 2017-11-27 22:34:28 +09:00
Kijin Sung
be9a109a37 Support <offset> in XML query <navigation> section 2016-09-14 13:44:35 +09:00
Kijin Sung
ac8460d782 Finalize debug data format and allow all statistics to be collected 2016-02-12 21:31:38 +09:00
Kijin Sung
7ac2312eb7 Use getInternalDateTime() as default time value for DB insert 2016-02-12 09:21:53 +09:00
Kijin Sung
db87085967 Remove unnecessary calls to getMicroTime() 2016-01-08 14:05:48 +09:00
Kijin Sung
a7ed4c56c8 Merge #1363 PHP 5 방식의 생성자 (__construct) 사용 by kijin
* pr/1363:
  ExtraItem 클래스에도 PHP 5 방식의 생성자 (__construct) 사용
  PHP 5 방식의 생성자 (__construct) 사용

Conflicts:
	classes/context/Context.class.php
2015-10-08 14:10:32 +09:00
Kijin Sung
af1d1fcb2d 다른 모든 클래스에 autoload 적용 2015-04-07 10:13:34 +09:00
Kijin Sung
15d3ba7ca1 PHP 5 방식의 생성자 (__construct) 사용 2015-04-01 11:30:04 +09:00
bnu
a30ee4d573 fix #979 notin default 값에 다중 값을 사용할 수 없는 문제 고침 2014-10-05 15:40:17 +09:00
akasima
26427a8967 #862 escapeValue()에서 foreach로 처리되록 수정 2014-07-25 18:27:59 +09:00
akasima
e9d7e0b1ce #236 XML query error if the list_count's default value is not specified 2014-01-08 13:30:17 +09:00
khongchi
fb998623ea #162 db query의 입력값 유무 검사 오류 수정 2013-12-10 16:08:38 +09:00
bnu
035fd8fa3b 구 버전용 XmlQueryParser 제거. 2013-11-30 19:21:47 +09:00
bnu
41ff8ace3b NOISSUE PHP 5.4 이상 호환성 개선. 2013-11-30 18:05:36 +09:00
ngleader
bc47f19615 NOISSUE code rearrange 2013-11-22 06:46:26 +09:00
khongchi
540da2c75c #85, time()을 $_SERVER['REQUEST_TIME']으로 대체 2013-11-21 16:14:13 +09:00
akasima
736f382b27 #66 install php version check
#16 install rewrite module usable check
#48 htmlspecialchars function params add
2013-11-19 13:32:39 +09:00
khongchi
5693e340fe issue 3645, php5 대응, 함수 대체
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13202 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-13 01:40:53 +00: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
misol
f70ce644ce Close Connection when there is no connection value.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13161 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-09-25 15:29:32 +00:00
chschy
c3647b3f99 changed variable definition to __XE__
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12729 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-12 02:46:25 +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
flyskyko
0f04bd3f92 merge changes of luminous to maserati (~r12676)
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12680 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-04 08:09:07 +00:00
ucorina
09ff5b94ac Updated code comments for PHPDocumentor - XmlQueryParser, QueryParser, DBParser and column classes
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@12419 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-12-17 15:53:10 +00:00
ucorina
39c2f06aa7 Updated code comments for PHPDocumentor - column classes
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@12418 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-12-17 14:29:23 +00:00