mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
의미없는 method 나눔인 getContent, _toDoc를 제거
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3527 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c4e90941e9
commit
3a6cb4f7f2
1 changed files with 2 additions and 17 deletions
|
|
@ -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 데이터로 컨텐츠 생성
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue