Minahito
minah****@users*****
2006年 5月 30日 (火) 12:55:26 JST
Index: xoops2jp/html/modules/base/class/image.php diff -u xoops2jp/html/modules/base/class/image.php:1.1.2.3 xoops2jp/html/modules/base/class/image.php:1.1.2.4 --- xoops2jp/html/modules/base/class/image.php:1.1.2.3 Mon May 15 17:34:25 2006 +++ xoops2jp/html/modules/base/class/image.php Tue May 30 12:55:26 2006 @@ -24,7 +24,7 @@ function loadImagecategory() { if ($this->_mImageCategoryLoadedFlag == false) { - $handler =& xoops_getmodulehandler('imagecategory'); + $handler =& xoops_getmodulehandler('imagecategory', 'base'); $this->mImageCategory =& $handler->get($this->get('imgcat_id')); $this->_mImageCategoryLoadedFlag = true; } @@ -33,7 +33,7 @@ function loadImagebody() { if ($this->_mImageBodyLoadedFlag == false) { - $handler =& xoops_getmodulehandler('imagebody'); + $handler =& xoops_getmodulehandler('imagebody', 'base'); $this->mImageBody =& $handler->get($this->get('image_id')); $this->_mImageBodyLoadedFlag = true; } @@ -41,7 +41,7 @@ function &createImagebody() { - $handler =& xoops_getmodulehandler('imagebody'); + $handler =& xoops_getmodulehandler('imagebody', 'base'); $obj =& $handler->create(); $obj->set('image_id', $this->get('image_id')); return $obj; Index: xoops2jp/html/modules/base/class/imagebody.php diff -u xoops2jp/html/modules/base/class/imagebody.php:1.1.2.1 xoops2jp/html/modules/base/class/imagebody.php:1.1.2.2 --- xoops2jp/html/modules/base/class/imagebody.php:1.1.2.1 Mon May 15 17:34:32 2006 +++ xoops2jp/html/modules/base/class/imagebody.php Tue May 30 12:55:26 2006 @@ -16,7 +16,7 @@ function loadImagebody() { if ($this->_mImageBodyLoadedFlag == false) { - $handler =& xoops_getmodulehandler('imagebody'); + $handler =& xoops_getmodulehandler('imagebody', 'base'); $this->mImageBody =& $handler->get($this->get('image_id')); $this->_mImageBodyLoadedFlag = true; } @@ -24,7 +24,7 @@ function &createImagebody() { - $handler =& xoops_getmodulehandler('imagebody'); + $handler =& xoops_getmodulehandler('imagebody', 'base'); $obj =& $handler->create(); $obj->set('image_id', $this->get('image_id')); return $obj; @@ -49,7 +49,7 @@ function delete(&$obj, $force = false) { - $handler =& xoops_getmodulehandler('imagebody'); + $handler =& xoops_getmodulehandler('imagebody', 'base'); $handler->delete($obj->get('image_id')); unset($handler); Index: xoops2jp/html/modules/base/class/imagecategory.php diff -u xoops2jp/html/modules/base/class/imagecategory.php:1.1.2.3 xoops2jp/html/modules/base/class/imagecategory.php:1.1.2.4 --- xoops2jp/html/modules/base/class/imagecategory.php:1.1.2.3 Thu May 25 18:31:34 2006 +++ xoops2jp/html/modules/base/class/imagecategory.php Tue May 30 12:55:26 2006 @@ -36,7 +36,7 @@ function loadImage() { if ($this->_mImageLoadedFlag == false) { - $handler =& xoops_getmodulehandler('image'); + $handler =& xoops_getmodulehandler('image', 'base'); $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'); + $handler =& xoops_getmodulehandler('image', 'base'); $obj =& $handler->create(); $obj->set('imagecat_id', $this->get('imagecat_id')); return $obj; @@ -52,7 +52,7 @@ function getImageCount() { - $handler =& xoops_getmodulehandler('image'); + $handler =& xoops_getmodulehandler('image', 'base'); return $handler->getCount(new Criteria('imgcat_id', $this->get('imgcat_id'))); } @@ -224,7 +224,7 @@ function delete(&$obj, $force = false) { - $handler =& xoops_getmodulehandler('image'); + $handler =& xoops_getmodulehandler('image', 'base'); $handler->deleteAll(new Criteria('imagecat_id', $obj->get('imagecat_id'))); unset($handler);