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@652 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
19f925f0e0
commit
d703b6d15a
6 changed files with 103 additions and 25 deletions
|
|
@ -739,12 +739,9 @@
|
|||
$editor_component = $xml_doc->attrs->editor_component;
|
||||
if(!$editor_component) return $matches[0];
|
||||
|
||||
// editor class 객체 생성하여 component 객체 받음
|
||||
$oEditor = &getClass('editor');
|
||||
if(!is_object($oEditor)) return $matches[0];
|
||||
|
||||
// component::transHTML() 을 이용하여 변환된 코드를 받음
|
||||
$oComponent = &$oEditor->getComponentObject($editor_component, 0);
|
||||
$oEditorModel = &getModel('editor');
|
||||
$oComponent = &$oEditorModel->getComponentObject($editor_component, 0);
|
||||
if(!is_object($oComponent)||!method_exists($oComponent, 'transHTML')) return $matches[0];
|
||||
|
||||
return $oComponent->transHTML($xml_doc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue