<?php
/*
 * Copyright(C). D-cube,Inc. All Rights Reserved.
 */

/*
 * @file		GeneralRSS1Manager.class.php
 * @brief		一般用RSS1.0クラス
 * @date		2007.01.25
 */

require_once(CLASS_DIR."/adodb/BitcubeDB.class.php");

class GeneralRSS1Manager extends BitcubeDB
{
	function GeneralRSS1Manager()
	{
		$this->BitcubeDB();
	}
	
	// RSS1.0情報取得
	function getRSS1Info($group_code)
	{
		// SQL文
		$sql  = " select ";
		$sql .= " $this->template.group_code ";
		$sql .= " ,$this->template.rss1_tmpl ";
		$sql .= " from ";
		$sql .= " $this->template ";
		$sql .= " where $this->template.is_delete = 0 and $this->template.group_code = $group_code ";
		
		return $this->GetRow($sql);
	}
}
