Minahito
minah****@users*****
2006年 10月 3日 (火) 17:28:51 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.13 --- xoops2jp/html/kernel/object.php:1.2.8.12 Tue Aug 1 17:25:16 2006 +++ xoops2jp/html/kernel/object.php Tue Oct 3 17:28:50 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.13 2006/10/03 08:28:50 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)