git-svn-id: http://xe-core.googlecode.com/svn/trunk@1117 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-12 10:24:19 +00:00
parent 7586d9a27d
commit 77a0d87dfc
10 changed files with 69 additions and 29 deletions

View file

@ -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자체가 변경됨