mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-08 21:12:12 +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
|
|
@ -22,7 +22,8 @@
|
|||
$method = Context::get('method');
|
||||
if(!$component) return new Object(-1, sprintf(Context::getLang('msg_component_is_not_founded'), $component));
|
||||
|
||||
$oComponent = &$this->getComponentObject($component);
|
||||
$oEditorModel = &getModel('editor');
|
||||
$oComponent = &$oEditorModel->getComponentObject($component);
|
||||
if(!$oComponent->toBool()) return $oComponent;
|
||||
|
||||
if(!method_exists($oComponent, $method)) return new Object(-1, sprintf(Context::getLang('msg_component_is_not_founded'), $component));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue