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

Back to archive index

Minahito minah****@users*****
2006年 10月 7日 (土) 15:44:28 JST


Index: xoops2jp/html/kernel/object.php
diff -u xoops2jp/html/kernel/object.php:1.2.8.12 xoops2jp/html/kernel/object.php:1.2.8.12.2.1
--- xoops2jp/html/kernel/object.php:1.2.8.12	Tue Aug  1 17:25:16 2006
+++ xoops2jp/html/kernel/object.php	Sat Oct  7 15:44:28 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: object.php,v 1.2.8.12 2006/08/01 08:25:16 nobunobu Exp $
+// $Id: object.php,v 1.2.8.12.2.1 2006/10/07 06:44:28 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -458,9 +458,15 @@
 		return $this->getVar($key, 's');
 	}
 	
+	/**
+	 * Sets $value to $key property. This method calls setVar(), but make
+	 * not_gpc true for the compatibility with XoopsSimpleObject.
+	 * @param string $key
+	 * @param mixed $value
+	 */
 	function set($key, $value)
 	{
-		$this->setVar($key, $value);
+		$this->setVar($key, $value, true);
 	}
 
 	function get($key)


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