[xoops-cvslog 4683] CVS update: xoops2jp/html/modules/base/kernel

Back to archive index

Minahito minah****@users*****
2006年 9月 28日 (木) 19:24:11 JST


Index: xoops2jp/html/modules/base/kernel/Legacy_Identity.class.php
diff -u /dev/null xoops2jp/html/modules/base/kernel/Legacy_Identity.class.php:1.1.2.1
--- /dev/null	Thu Sep 28 19:24:11 2006
+++ xoops2jp/html/modules/base/kernel/Legacy_Identity.class.php	Thu Sep 28 19:24:11 2006
@@ -0,0 +1,27 @@
+<?php
+/**
+ * @package Legacy
+ * @version $Id: Legacy_Identity.class.php,v 1.1.2.1 2006/09/28 10:24:11 minahito Exp $
+ */
+
+class Legacy_Identity extends XCube_Identity
+{
+	function Legacy_Identity(&$xoopsUser)
+	{
+		parent::XCube_Identity();
+		
+		if (!is_object($xoopsUser)) {
+			die('Exception');
+		}
+		
+		$this->mName = $xoopsUser->get('uname');
+	}
+	
+	function isAuthenticated()
+	{
+		return true;
+	}
+}
+
+
+?>
\ No newline at end of file


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