mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 08:49:56 +09:00
25 lines
553 B
PHP
25 lines
553 B
PHP
<?php
|
|
/**
|
|
* @class EditorHandler
|
|
* @author zero (zero@nzeo.com)
|
|
* @brief addon을 호출하여 실행
|
|
**/
|
|
|
|
class EditorHandler extends Object {
|
|
|
|
/**
|
|
* @brief 컴포넌트의 xml및 관련 정보들을 설정
|
|
**/
|
|
function setInfo($info) {
|
|
Context::set('component_info', $info);
|
|
|
|
if($info->extra_vars) {
|
|
foreach($info->extra_vars as $key => $val) {
|
|
$this->{$key} = trim($val->value);
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
?>
|