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

Back to archive index

NobuNobu nobun****@users*****
2006年 12月 3日 (日) 16:44:54 JST


Index: xoops2jp/html/modules/user/class/online.php
diff -u xoops2jp/html/modules/user/class/online.php:1.1.2.1.2.3 xoops2jp/html/modules/user/class/online.php:1.1.2.1.2.4
--- xoops2jp/html/modules/user/class/online.php:1.1.2.1.2.3	Sun Dec  3 13:52:17 2006
+++ xoops2jp/html/modules/user/class/online.php	Sun Dec  3 16:44:54 2006
@@ -1,34 +1,34 @@
-<?php
-
-if (!defined('XOOPS_ROOT_PATH')) exit();
-
-class UserOnlineObject extends XoopsSimpleObject
-{
-	var $mModule = null;
-	
-	function UserOnlineObject()
-	{
-		$this->initVar('online_uid', XOBJ_DTYPE_INT, '0', true);
-		$this->initVar('online_uname', XOBJ_DTYPE_STRING, '', true, 25);
-		$this->initVar('online_updated', XOBJ_DTYPE_INT, '0', true);
-		$this->initVar('online_module', XOBJ_DTYPE_INT, '0', true);
-		$this->initVar('online_ip', XOBJ_DTYPE_STRING, '', true, 15);
-	}
-	
-	function loadModule()
-	{
-		if ($this->get('online_module')) {
-			$handler =& xoops_gethandler('module');
-			$this->mModule =& $handler->get($this->get('online_module'));
-		}
-	}
-}
-
-class UserOnlineHandler extends XoopsObjectGenericHandler
-{
-	var $mTable = "online";
-	var $mPrimary = "";
-	var $mClass = "UserOnlineObject";
-}
-
-?>
+<?php
+
+if (!defined('XOOPS_ROOT_PATH')) exit();
+
+class UserOnlineObject extends XoopsSimpleObject
+{
+	var $mModule = null;
+	
+	function UserOnlineObject()
+	{
+		$this->initVar('online_uid', XOBJ_DTYPE_INT, '0', true);
+		$this->initVar('online_uname', XOBJ_DTYPE_STRING, '', true, 25);
+		$this->initVar('online_updated', XOBJ_DTYPE_INT, '0', true);
+		$this->initVar('online_module', XOBJ_DTYPE_INT, '0', true);
+		$this->initVar('online_ip', XOBJ_DTYPE_STRING, '', true, 15);
+	}
+	
+	function loadModule()
+	{
+		if ($this->get('online_module')) {
+			$handler =& xoops_gethandler('module');
+			$this->mModule =& $handler->get($this->get('online_module'));
+		}
+	}
+}
+
+class UserOnlineHandler extends XoopsObjectGenericHandler
+{
+	var $mTable = "online";
+	var $mPrimary = "";
+	var $mClass = "UserOnlineObject";
+}
+
+?>


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