[xoops-cvslog 4397] CVS update: xoops2jp/html/kernel

アーカイブの一覧に戻る

Minahito minah****@users*****
2006年 8月 30日 (水) 19:05:59 JST


Index: xoops2jp/html/kernel/XCube_UserAccount.class.php
diff -u xoops2jp/html/kernel/XCube_UserAccount.class.php:1.1.2.1 xoops2jp/html/kernel/XCube_UserAccount.class.php:1.1.2.2
--- xoops2jp/html/kernel/XCube_UserAccount.class.php:1.1.2.1	Thu Nov 24 23:58:33 2005
+++ xoops2jp/html/kernel/XCube_UserAccount.class.php	Wed Aug 30 19:05:59 2006
@@ -1,21 +1,47 @@
 <?php
+/**
+ * @package XCube
+ * @version $Id$
+ */
 
 class XCube_UserAccount
 {
-	var $mId;
-	var $mName;
-	var $mPass;
+	var $_mId;
+	var $_mUname;
+	
+	var $_mPass;
 
 	var $mProfile;
 
+	var $mGroups = array();
+	
+	/**
+	 * @var bool
+	 */
+	var $_mGroupsLoadedFlag = false;
+	
+	var $_mIsGuest = false;
+	
+	var $_mIsService = false;
+	
 	function XCube_UserAccount()
 	{
 	}
 	
-	function getVar($key)
+	function prepare()
 	{
 	}
-
+	
+	function &getGroup()
+	{
+		$this->loadGroup();
+		return $this->mGroups;
+	}
+	
+	function loadGroup()
+	{
+	}
+	
 	function getId()
 	{
 		return $this->mId;
@@ -24,8 +50,33 @@
 	/**
 	 * @return bool
 	 */
-	function isAnonymous()
+	function isGuest()
+	{
+		return $this->_mIsGuest;
+	}
+	
+	/**
+	 * param bool $flag
+	 */
+	function setGuest($flag)
+	{
+		$this->_mIsGuest = $flag;
+	}
+	
+	/**
+	 * @return bool
+	 */
+	function isService()
+	{
+		return $this->_mIsService;
+	}
+	
+	/**
+	 * param bool $flag
+	 */
+	function setService($flag)
 	{
+		$this->_mIsService = $flag;
 	}
 }
 


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る