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

This commit is contained in:
zero 2007-04-17 01:19:33 +00:00
parent a06bd25952
commit 1b57bf401f
3 changed files with 2 additions and 3 deletions

View file

@ -237,7 +237,7 @@
/**
* @brief 모듈 객체를 생성함
**/
function getModuleInstance($module, $type = 'view') {
function &getModuleInstance($module, $type = 'view') {
$class_path = ModuleHandler::getModulePath($module);
if(!$class_path) return NULL;

View file

@ -22,7 +22,7 @@
* @param type disp, proc, controller, class
* @return module instance
**/
function getModule($module_name, $type = 'view') {
function &getModule($module_name, $type = 'view') {
return ModuleHandler::getModuleInstance($module_name, $type);
}

View file

@ -47,5 +47,4 @@
$oModuleHandler->init();
$oModule = &$oModuleHandler->procModule();
$oModuleHandler->displayContent($oModule);
?>