mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-17 18:29:55 +09:00
Author name update.
NHN developers@xpressengine.com http://xpressengine.com/ git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7676 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7d1fa86e5c
commit
8f385a592b
603 changed files with 67379 additions and 67522 deletions
|
|
@ -1,27 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* @class EditorHandler
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief edit component의 상위 클래스임
|
||||
*
|
||||
* 주로 하는 일은 컴포넌트 요청시 컴포넌트에서 필요로 하는 변수를 세팅해준다
|
||||
**/
|
||||
|
||||
class EditorHandler extends Object {
|
||||
|
||||
/**
|
||||
* @brief 컴포넌트의 xml및 관련 정보들을 설정
|
||||
**/
|
||||
function setInfo($info) {
|
||||
Context::set('component_info', $info);
|
||||
|
||||
if(!$info->extra_vars) return;
|
||||
|
||||
foreach($info->extra_vars as $key => $val) {
|
||||
$this->{$key} = trim($val->value);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @class EditorHandler
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief edit component의 상위 클래스임
|
||||
*
|
||||
* 주로 하는 일은 컴포넌트 요청시 컴포넌트에서 필요로 하는 변수를 세팅해준다
|
||||
**/
|
||||
|
||||
class EditorHandler extends Object {
|
||||
|
||||
/**
|
||||
* @brief 컴포넌트의 xml및 관련 정보들을 설정
|
||||
**/
|
||||
function setInfo($info) {
|
||||
Context::set('component_info', $info);
|
||||
|
||||
if(!$info->extra_vars) return;
|
||||
|
||||
foreach($info->extra_vars as $key => $val) {
|
||||
$this->{$key} = trim($val->value);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue