Minahito
minah****@users*****
2006年 1月 8日 (日) 23:42:17 JST
Index: xoops2jp/html/modules/user/class/rank.php diff -u xoops2jp/html/modules/user/class/rank.php:1.1.2.1 xoops2jp/html/modules/user/class/rank.php:1.1.2.2 --- xoops2jp/html/modules/user/class/rank.php:1.1.2.1 Sun Jan 8 16:51:07 2006 +++ xoops2jp/html/modules/user/class/rank.php Sun Jan 8 23:42:16 2006 @@ -20,8 +20,12 @@ } } -class UserRankHandler extends XoopsObjectHandler +class UserRankHandler extends XoopsObjectGenericHandler { + var $mTable = "ranks"; + var $mPrimary = "rank_id"; + var $mClass = "UserRankObject"; + /** * @return UserRankObject */ @@ -54,16 +58,6 @@ return $ret; } - function &getObjects($criteria=null) - { - $ret = $this->enumAll(); - return $ret; - } - - function getCount($criteria=null) - { - } - function insert(&$rank) { if(!is_a($rank,"UserRankObject"))