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

Back to archive index

Minahito minah****@users*****
2006年 1月 19日 (木) 21:38:46 JST


Index: xoops2jp/html/kernel/object.php
diff -u xoops2jp/html/kernel/object.php:1.2.8.7 xoops2jp/html/kernel/object.php:1.2.8.8
--- xoops2jp/html/kernel/object.php:1.2.8.7	Wed Jan 11 19:18:38 2006
+++ xoops2jp/html/kernel/object.php	Thu Jan 19 21:38:46 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: object.php,v 1.2.8.7 2006/01/11 10:18:38 minahito Exp $
+// $Id: object.php,v 1.2.8.8 2006/01/19 12:38:46 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -81,14 +81,6 @@
 	
 	/**
 	 * You should use this method to initilize object's properties.
-	 * This method will not trigger unsetNew().
-	 */
-	function assignVar($key, $value)
-	{
-	}
-
-	/**
-	 * You should use this method to initilize object's properties.
 	 * This method may not trigger setDirty().
 	 * @param $values array
 	 */	
@@ -116,10 +108,6 @@
 	{
 	}
 	
-	function setVars($values)
-	{
-	}
-	
 	/**
 	 * Return html string for template.
 	 * You can call get() method to get pure value.
@@ -473,22 +461,28 @@
         return $ret;
     }
 
-	/**
-	 * @deprecated
-	 */
+	function set($key, $value)
+	{
+		return $this->vars[$key]['value'] = $value;
+	}
+
 	function get($key)
 	{
 		return $this->vars[$key]['value'];
 	}
-    
+
     /**
      * Return value as raw.
+     * @deprecated
      */
     function getProperty($key)
     {
 		return $this->vars[$key]['value'];
 	}
 
+	/**
+     * @deprecated
+	 */
     function getProperties()
     {
 		$ret=array();


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