의미없는 method 나눔인 getContent, _toDoc를 제거

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3527 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-01-15 08:33:37 +00:00
parent c4e90941e9
commit 3a6cb4f7f2

View file

@ -28,7 +28,8 @@
$this->_printHeader();
// request method에 따른 처리
$content = $this->getContent($oModule);
if(Context::getRequestMethod() == 'XMLRPC') $content = $this->_toXmlDoc($oModule);
else $content = $this->_toHTMLDoc($oModule);
// 요청방식에 따라 출력을 별도로
if(Context::getResponseMethod()!="XMLRPC") {
@ -100,22 +101,6 @@
else print $content;
}
/**
* @brief 모듈 객체의 content return
**/
function getContent(&$oModule) {
return $this->_toDoc($oModule);
}
/**
* @brief 모듈 객체의 content return
**/
function _toDoc(&$oModule) {
if(Context::getRequestMethod() == 'XMLRPC') $content = $this->_toXmlDoc($oModule);
else $content = $this->_toHTMLDoc($oModule);
return $content;
}
/**
* @brief RequestMethod가 XML이면 XML 데이터로 컨텐츠 생성
**/