Minahito
minah****@users*****
2006年 5月 10日 (水) 19:24:17 JST
Index: xoops2jp/html/modules/base/class/imagecategory.php diff -u xoops2jp/html/modules/base/class/imagecategory.php:1.1.2.1 xoops2jp/html/modules/base/class/imagecategory.php:1.1.2.2 --- xoops2jp/html/modules/base/class/imagecategory.php:1.1.2.1 Tue May 9 19:21:10 2006 +++ xoops2jp/html/modules/base/class/imagecategory.php Wed May 10 19:24:17 2006 @@ -50,6 +50,12 @@ return $obj; } + function getImageCount() + { + $handler =& xoops_getmodulehandler('image'); + return $handler->getCount(new Criteria('imgcat_id', $this->get('imgcat_id'))); + } + function loadReadGroups() { if ($this->_mReadGroupsLoadedFlag) {