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

This commit is contained in:
zero 2007-03-29 00:55:27 +00:00
parent d48bd45e60
commit 3ffcefd6fb
6 changed files with 20 additions and 7 deletions

View file

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

View file

@ -225,15 +225,15 @@
// 기본 act조차 없으면 return
if(!method_exists($this, $this->act)) return false;
// addon 실행(point를 before로 하여 호출)
$this->point = 'before';
// addon 실행(addon_position 를 before_module_proc로 하여 호출)
$addon_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 실행(point를 after로 하여 호출)
$this->point = 'after';
// addon 실행(addon_position 를 after_module_proc로 하여 호출)
$addon_position = 'after_module_proc';
@include("./files/cache/activated_addons.cache.php");
if(is_a($output, 'Object') || is_subclass_of($output, 'Object')) {