|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/xe/classes/editor/ |
Upload File : |
<?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);
}
}
}
?>