mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1187 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a06bd25952
commit
1b57bf401f
3 changed files with 2 additions and 3 deletions
|
|
@ -237,7 +237,7 @@
|
||||||
/**
|
/**
|
||||||
* @brief 모듈 객체를 생성함
|
* @brief 모듈 객체를 생성함
|
||||||
**/
|
**/
|
||||||
function getModuleInstance($module, $type = 'view') {
|
function &getModuleInstance($module, $type = 'view') {
|
||||||
$class_path = ModuleHandler::getModulePath($module);
|
$class_path = ModuleHandler::getModulePath($module);
|
||||||
if(!$class_path) return NULL;
|
if(!$class_path) return NULL;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
* @param type disp, proc, controller, class
|
* @param type disp, proc, controller, class
|
||||||
* @return module instance
|
* @return module instance
|
||||||
**/
|
**/
|
||||||
function getModule($module_name, $type = 'view') {
|
function &getModule($module_name, $type = 'view') {
|
||||||
return ModuleHandler::getModuleInstance($module_name, $type);
|
return ModuleHandler::getModuleInstance($module_name, $type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -47,5 +47,4 @@
|
||||||
$oModuleHandler->init();
|
$oModuleHandler->init();
|
||||||
$oModule = &$oModuleHandler->procModule();
|
$oModule = &$oModuleHandler->procModule();
|
||||||
$oModuleHandler->displayContent($oModule);
|
$oModuleHandler->displayContent($oModule);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue