[xoops-cvslog 3572] CVS update: xoops2jp/html/modules/user/admin/class

Back to archive index

Minahito minah****@users*****
2006年 7月 13日 (木) 19:48:19 JST


Index: xoops2jp/html/modules/user/admin/class/XoopsGroupEx.class.php
diff -u xoops2jp/html/modules/user/admin/class/XoopsGroupEx.class.php:1.1.2.3 xoops2jp/html/modules/user/admin/class/XoopsGroupEx.class.php:removed
--- xoops2jp/html/modules/user/admin/class/XoopsGroupEx.class.php:1.1.2.3	Tue Mar 28 22:32:03 2006
+++ xoops2jp/html/modules/user/admin/class/XoopsGroupEx.class.php	Thu Jul 13 19:48:19 2006
@@ -1,32 +0,0 @@
-<?php
-
-if (!defined('XOOPS_ROOT_PATH')) exit();
-
-/**
- * This extends XoopsGroup to that user group list can get count of users.
- */
-class XoopsGroupEx extends XoopsGroup
-{
-	/**
-	 * $group is used for initialize. This class is no adapter pattern.
-	 * @param $group XoopsGroup
-	 */
-	function XoopsGroupEx($group = null)
-	{
-		parent::XoopsGroup();
-		$this->initVar('user_count', XOBJ_DTYPE_INT, null, false);
-
-		$this->setVar('groupid', $group->get('groupid'));
-		$this->setVar('name', $group->get('name'));
-		$this->setVar('description', $group->get('description'));
-		$this->setVar('group_type', $group->get('group_type'));
-
-		if (is_object($group)) {
-			$memberHandler =& xoops_gethandler('member');
-
-			$this->setVar('user_count', $memberHandler->getUserCountByGroup($this->get('groupid')));
-		}
-	}
-}
-
-?>
\ No newline at end of file


xoops-cvslog メーリングリストの案内
Back to archive index