mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
모듈별 API 기능을 위한 코드 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4709 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
566972bd64
commit
fe96e73374
3 changed files with 22 additions and 6 deletions
|
|
@ -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 모듈이름
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue