mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1117 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7586d9a27d
commit
77a0d87dfc
10 changed files with 69 additions and 29 deletions
|
|
@ -260,6 +260,16 @@
|
|||
return new Object();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 컬럼의 타입을 구해옴
|
||||
* 컬럼의 경우 a.b 와 같이 되어 있는 경우가 있어서 별도 함수가 필요
|
||||
**/
|
||||
function getColumnType($column_type_list, $name) {
|
||||
if(strpos($name,'.')===false) return $column_type_list[$name];
|
||||
list($prefix, $name) = explode('.',$name);
|
||||
return $column_type_list[$name];
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 이름, 값, operation, type으로 값을 변경
|
||||
* like, like_prefix의 경우 value자체가 변경됨
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue