mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 22:02:13 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@261 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c1622a7c2f
commit
31bfa47594
14 changed files with 232 additions and 52 deletions
34
modules/rss/rss.controller.php
Normal file
34
modules/rss/rss.controller.php
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
/**
|
||||
* @class rssController
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief rss module의 view class
|
||||
*
|
||||
* RSS 2.0형식으로 문서 출력
|
||||
*
|
||||
**/
|
||||
|
||||
class rssController extends rss {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 설정
|
||||
**/
|
||||
function procInsertConfig() {
|
||||
// 기본 정보를 받음
|
||||
$args = Context::gets('rss_disable', 'rss_type');
|
||||
if($args->rss_disable!='Y') $args->rss_disable = 'N';
|
||||
if(!$args->rss_type) $args->rss_type = "rss20";
|
||||
|
||||
// module Controller 객체 생성하여 입력
|
||||
$oModuleController = &getController('module');
|
||||
$output = $oModuleController->insertModuleConfig('rss',$args);
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue