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

This commit is contained in:
zero 2007-03-20 06:29:01 +00:00
parent 6e6856e1eb
commit ca67eeea6e
19 changed files with 113 additions and 376 deletions

View file

@ -40,35 +40,14 @@
return $oTemplate->compile($tpl_path, $tpl_file);
}
/**
* @brief 컴포넌트 실행하여 결과 return
**/
function dispComponent() {
// 변수 정리
$component = Context::get('component');
$upload_target_srl = Context::get('upload_target_srl');
// component 객체를 받음
$oComponent = &$this->getComponentObject($component, $upload_target_srl);
if(!$oComponent->toBool()) return $oComponent;
// 컴포넌트 실행
$oComponent->execute();
$this->add('component', $component);
$this->add('upload_target_srl', $upload_target_srl);
$this->add('tpl', $oComponent->get('tpl'));
$this->add('open_window', $oComponent->get('open_window'));
$this->add('popup_url', $oComponent->get('popup_url'));
}
/**
* @brief 컴포넌트의 팝업 출력을 요청을 받는 action
**/
function dispPopup() {
// 변수 정리
$component = Context::get('component');
$upload_target_srl = Context::get('upload_target_srl');
$component = Context::get('component');
$manual_url = Context::get('manual_url');
// component 객체를 받음
$oComponent = &$this->getComponentObject($component, $upload_target_srl);