모듈별 API 기능을 위한 코드 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4709 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-10-28 06:39:43 +00:00
parent 566972bd64
commit fe96e73374
3 changed files with 22 additions and 6 deletions

View file

@ -138,6 +138,15 @@
return getModule($module_name, 'model','admin');
}
/**
* @brief module의 api 객체 생성용
* @param module_name 모듈이름
* @return module api class instance
**/
function &getAPI($module_name) {
return getModule($module_name, 'api');
}
/**
* @brief module의 상위 class 객체 생성용
* @param module_name 모듈이름