Minahito
minah****@users*****
2006年 7月 5日 (水) 11:39:00 JST
Index: xoops2jp/html/modules/base/kernel/object.php diff -u xoops2jp/html/modules/base/kernel/object.php:1.1.2.5 xoops2jp/html/modules/base/kernel/object.php:1.1.2.6 --- xoops2jp/html/modules/base/kernel/object.php:1.1.2.5 Tue Jun 20 19:53:52 2006 +++ xoops2jp/html/modules/base/kernel/object.php Wed Jul 5 11:38:59 2006 @@ -1,5 +1,5 @@ <?php -// $Id: object.php,v 1.1.2.5 2006/06/20 10:53:52 minahito Exp $ +// $Id: object.php,v 1.1.2.6 2006/07/05 02:38:59 minahito Exp $ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -17,7 +17,7 @@ * the rule that you are forced. * */ -class XoopsSimpleObject extends XoopsObjectInterface +class XoopsSimpleObject extends AbstractXoopsObject { var $mVars = array(); var $mIsNew = true; @@ -126,12 +126,20 @@ { $this->assignVars($values); } + + /** + * @deprecated + */ + function getVar($key) + { + return $this->getShow($key); + } /** * Return HTML string for displaying only by HTML. * The second parametor doesn't exist. */ - function getVar($key) + function getShow($key) { $value = null;