mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
29 lines
743 B
PHP
29 lines
743 B
PHP
<?php
|
|
/**
|
|
* @class EditorHandler
|
|
* @author zero (zero@nzeo.com)
|
|
* @brief addon을 호출하여 실행
|
|
**/
|
|
|
|
class EditorHandler extends Object {
|
|
|
|
/**
|
|
* @brief 컴포넌트의 xml및 관련 정보들을 설정
|
|
**/
|
|
function setInfo($info) {
|
|
$this->component_name = $info->component_name;
|
|
$this->version = $info->version;
|
|
$this->title = $info->title;
|
|
$this->author = $info->author;
|
|
$this->description = $info->description;
|
|
|
|
if($info->extra_vars) {
|
|
foreach($info->extra_vars as $key => $val) {
|
|
$this->{$key} = trim($val->value);
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
?>
|