[xoops-cvslog 5260] CVS update: xoops2jp/html/modules/legacy/class

Zurück zum Archiv-Index

Minahito minah****@users*****
2006年 10月 15日 (日) 01:33:34 JST


Index: xoops2jp/html/modules/legacy/class/imagecategory.php
diff -u xoops2jp/html/modules/legacy/class/imagecategory.php:1.1.2.1 xoops2jp/html/modules/legacy/class/imagecategory.php:1.1.2.2
--- xoops2jp/html/modules/legacy/class/imagecategory.php:1.1.2.1	Sat Oct 14 23:55:21 2006
+++ xoops2jp/html/modules/legacy/class/imagecategory.php	Sun Oct 15 01:33:33 2006
@@ -2,7 +2,7 @@
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
-class BaseImagecategoryObject extends XoopsSimpleObject
+class LegacyImagecategoryObject extends XoopsSimpleObject
 {
 	var $mImage = array();
 	var $_mImageLoadedFlag = false;
@@ -20,7 +20,7 @@
 	var $_mUploadGroupsLoadedFlag = false;
 	
 
-	function BaseImagecategoryObject()
+	function LegacyImagecategoryObject()
 	{
 		$this->initVar('imgcat_id', XOBJ_DTYPE_INT, '', false);
 		$this->initVar('imgcat_name', XOBJ_DTYPE_STRING, '', true, 100);
@@ -36,7 +36,7 @@
 	function loadImage()
 	{
 		if ($this->_mImageLoadedFlag == false) {
-			$handler =& xoops_getmodulehandler('image', 'base');
+			$handler =& xoops_getmodulehandler('image', 'legacy');
 			$this->mImage =& $handler->getObjects(new Criteria('imagecat_id', $this->get('imagecat_id')));
 			$this->_mImageLoadedFlag = true;
 		}
@@ -44,7 +44,7 @@
 
 	function &createImage()
 	{
-		$handler =& xoops_getmodulehandler('image', 'base');
+		$handler =& xoops_getmodulehandler('image', 'legacy');
 		$obj =& $handler->create();
 		$obj->set('imagecat_id', $this->get('imagecat_id'));
 		return $obj;
@@ -52,7 +52,7 @@
 	
 	function getImageCount()
 	{
-		$handler =& xoops_getmodulehandler('image', 'base');
+		$handler =& xoops_getmodulehandler('image', 'legacy');
 		return $handler->getCount(new Criteria('imgcat_id', $this->get('imgcat_id')));
 	}
 	
@@ -144,11 +144,11 @@
 	}
 }
 
-class BaseImagecategoryHandler extends XoopsObjectGenericHandler
+class LegacyImagecategoryHandler extends XoopsObjectGenericHandler
 {
 	var $mTable = "imagecategory";
 	var $mPrimary = "imgcat_id";
-	var $mClass = "BaseImagecategoryObject";
+	var $mClass = "LegacyImagecategoryObject";
 
 	function insert(&$obj, $force = false)
 	{
@@ -224,7 +224,7 @@
 
 	function delete(&$obj, $force = false)
 	{
-		$handler =& xoops_getmodulehandler('image', 'base');
+		$handler =& xoops_getmodulehandler('image', 'legacy');
 		$handler->deleteAll(new Criteria('imagecat_id', $obj->get('imagecat_id')));
 		unset($handler);
 	


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index