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

This commit is contained in:
zero 2007-03-29 02:28:36 +00:00
parent 3ffcefd6fb
commit f7a361bd10
12 changed files with 65 additions and 24 deletions

View file

@ -51,10 +51,8 @@
if(!$document_srl) $this->document_srl = Context::get('document_srl');
else $this->document_srl = $document_srl;
/**
* @brief 애드온 실행
**/
$addon_position = 'beofre_module_init';
// 애드온 실행
$called_position = 'beofre_module_init';
@include("./files/cache/activated_addons.cache.php");
}
@ -209,12 +207,6 @@
}
}
/**
* @brief 애드온 실행
**/
$addon_position = 'beofre_dispay_content';
@include("./files/cache/activated_addons.cache.php");
// 컨텐츠 출력
$oDisplayHandler = new DisplayHandler();
$oDisplayHandler->printContent($oModule);

View file

@ -25,8 +25,6 @@
var $stop_proc = false; ///< action 수행중 stop()를 호출하면 ModuleObject::proc()를 수행하지 않음
var $point = 'before'; ///< 애드온 호출시 모듈의 실행을 before/after로 나누고 이 시점을 기록하는 변수
/**
* @brief 현재 모듈의 이름을 지정
**/
@ -225,15 +223,15 @@
// 기본 act조차 없으면 return
if(!method_exists($this, $this->act)) return false;
// addon 실행(addon_position 를 before_module_proc로 하여 호출)
$addon_position = 'before_module_proc';
// addon 실행(called_position 를 before_module_proc로 하여 호출)
$called_position = 'before_module_proc';
@include("./files/cache/activated_addons.cache.php");
// this->act값으로 method 실행
if(!$this->stop_proc) $output = call_user_method($this->act, $this);
// addon 실행(addon_position 를 after_module_proc로 하여 호출)
$addon_position = 'after_module_proc';
// addon 실행(called_position 를 after_module_proc로 하여 호출)
$called_position = 'after_module_proc';
@include("./files/cache/activated_addons.cache.php");
if(is_a($output, 'Object') || is_subclass_of($output, 'Object')) {