mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@662 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
062bca7301
commit
d45cbb04a7
9 changed files with 93 additions and 39 deletions
|
|
@ -7,6 +7,23 @@
|
|||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue