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

This commit is contained in:
zero 2007-06-13 01:27:59 +00:00
parent 350f9c0b48
commit 82507fd811
2 changed files with 19 additions and 13 deletions

View file

@ -800,6 +800,7 @@
$buff = $matches[0];
$buff = preg_replace('/([^=^"^ ]*)=([^"])([^=^ ]*)/i', '$1="$2$3"', $buff);
$buff = str_replace("&","&",$buff);
debugPrint($buff);
// 플러그인에서 생성된 코드 (img, div태그내에 editor_plugin코드 존재)의 parameter를 추출
$oXmlParser = new XmlParser();

View file

@ -7,6 +7,8 @@
class editorModel extends editor {
var $loaded_component_list = array();
/**
* @brief 에디터를 return
**/
@ -122,6 +124,7 @@
* @brief component의 객체 생성
**/
function getComponentObject($component, $upload_target_srl = 0) {
if(!$this->loaded_component_list[$component][$upload_target_srl]) {
// 해당 컴포넌트의 객체를 생성해서 실행
$class_path = sprintf('%s/components/%s/', $this->module_path, $component);
$class_file = sprintf('%s%s.class.php', $class_path, $component);
@ -136,8 +139,10 @@
// 설정 정보를 추가
$component_info = $this->getComponent($component);
$oComponent->setInfo($component_info);
$this->loaded_component_list[$component][$upload_target_srl] = $oComponent;
}
return $oComponent;
return $this->loaded_component_list[$component][$upload_target_srl];
}
/**