#19623705 DB 클래스 정리

1. DB 드라이버 생성방식 수정
2. $class_name, $class_file 이름 문자열 생성하는 부분 수정



git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8184 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-03-16 02:41:34 +00:00
parent 2c25d64fb5
commit 59bf3cbb83
10 changed files with 90 additions and 6 deletions

View file

@ -50,6 +50,14 @@ class DBPostgresql extends DB
$this->_setDBInfo();
$this->_connect();
}
/**
* @brief create an instance of this class
*/
function create()
{
return new DBPostgresql;
}
/**
* @brief 설치 가능 여부를 return
@ -927,4 +935,6 @@ class DBPostgresql extends DB
return $buff;
}
}
return new DBPostgresql;
?>