[xoops-cvslog 3459] CVS update: xoops2jp/html/modules/legacyRender/class

アーカイブの一覧に戻る

Minahito minah****@users*****
2006年 7月 10日 (月) 14:54:45 JST


Index: xoops2jp/html/modules/legacyRender/class/bannerclient.php
diff -u xoops2jp/html/modules/legacyRender/class/bannerclient.php:1.1.2.2 xoops2jp/html/modules/legacyRender/class/bannerclient.php:1.1.2.3
--- xoops2jp/html/modules/legacyRender/class/bannerclient.php:1.1.2.2	Mon Apr 24 19:57:57 2006
+++ xoops2jp/html/modules/legacyRender/class/bannerclient.php	Mon Jul 10 14:54:45 2006
@@ -30,7 +30,7 @@
 	function loadBanner()
 	{
 		if ($this->_mBannersLoadedFlag == false) {
-			$handler =& xoops_getmodulehandler('banner');
+			$handler =& xoops_getmodulehandler('banner', 'legacyRender');
 			$this->mBanners =& $handler->getObjects(new Criteria('cid', $this->get('cid')));
 			$this->_mBannersLoadedFlag = true;
 		}
@@ -39,7 +39,7 @@
 	function loadBannerCount()
 	{
 		if ($this->_mBannerCountLoadedFlag == false) {
-			$handler =& xoops_getmodulehandler('banner');
+			$handler =& xoops_getmodulehandler('banner', 'legacyRender');
 			$this->mBannerCount = $handler->getCount(new Criteria('cid', $this->get('cid')));
 			$this->_mBannerCountLoadedFlag = true;
 		}
@@ -47,7 +47,7 @@
 
 	function &createBanner()
 	{
-		$handler =& xoops_getmodulehandler('banner');
+		$handler =& xoops_getmodulehandler('banner', 'legacyRender');
 		$obj =& $handler->create();
 		$obj->set('cid', $this->get('cid'));
 		return $obj;
@@ -56,7 +56,7 @@
 	function loadBannerfinish()
 	{
 		if ($this->_mBannerfinishCountFlag == false) {
-			$handler =& xoops_getmodulehandler('bannerfinish');
+			$handler =& xoops_getmodulehandler('bannerfinish', 'legacyRender');
 			$this->mFinishBanners =& $handler->getObjects(new Criteria('cid', $this->get('cid')));
 			$this->_mBannerfinishCountLoadedFlag = true;
 		}
@@ -65,7 +65,7 @@
 	function loadFinishBannerCount()
 	{
 		if ($this->_mFinishBannerCountLoadedFlag == false) {
-			$handler =& xoops_getmodulehandler('bannerfinish');
+			$handler =& xoops_getmodulehandler('bannerfinish', 'legacyRender');
 			$this->mFinishBannerCount = $handler->getCount(new Criteria('cid', $this->get('cid')));
 			$this->_mFinishBannerCountLoadedFlag = true;
 		}
@@ -73,7 +73,7 @@
 
 	function &createBannerfinish()
 	{
-		$handler =& xoops_getmodulehandler('bannerfinish');
+		$handler =& xoops_getmodulehandler('bannerfinish', 'legacyRender');
 		$obj =& $handler->create();
 		$obj->set('cid', $this->get('cid'));
 		return $obj;
@@ -88,11 +88,11 @@
 
 	function delete(&$obj)
 	{
-		$handler =& xoops_getmodulehandler('banner');
+		$handler =& xoops_getmodulehandler('banner', 'legacyRender');
 		$handler->deleteAll(new Criteria('cid', $obj->get('cid')));
 		unset($handler);
 	
-		$handler =& xoops_getmodulehandler('bannerfinish');
+		$handler =& xoops_getmodulehandler('bannerfinish', 'legacyRender');
 		$handler->deleteAll(new Criteria('cid', $obj->get('cid')));
 		unset($handler);
 	


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る