[xoops-cvslog 6336] CVS update: xoops2jp/html/modules/legacy/kernel

アーカイブの一覧に戻る

NobuNobu nobun****@users*****
2007年 4月 23日 (月) 22:30:15 JST


Index: xoops2jp/html/modules/legacy/kernel/object.php
diff -u xoops2jp/html/modules/legacy/kernel/object.php:1.1.2.3 xoops2jp/html/modules/legacy/kernel/object.php:1.1.2.3.2.1
--- xoops2jp/html/modules/legacy/kernel/object.php:1.1.2.3	Thu Jan 18 19:20:42 2007
+++ xoops2jp/html/modules/legacy/kernel/object.php	Mon Apr 23 22:30:14 2007
@@ -1,22 +1,22 @@
 <?php
 /**
  * @package legacy
- * @version $Id: object.php,v 1.1.2.3 2007/01/18 10:20:42 nobunobu Exp $
+ * @version $Id: object.php,v 1.1.2.3.2.1 2007/04/23 13:30:14 nobunobu Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
 /**
- *  This class implements the interface of XoopsObjectInterface. It gives a developer
+ *	This class implements the interface of XoopsObjectInterface. It gives a developer
  * 'TYPE SAFE' with the limit. The instance can have only five data type that are
  * BOOL, INT, FLOAT, STRING and TEXT.
- *  You can not get the sanitizing values by cleanVars() that is the function of
+ *	You can not get the sanitizing values by cleanVars() that is the function of
  * XoopsObject. But, all set functions give you 'TYPE SAFE'. You should use this 
  * class with using your favorite ActionForm.
  *
  * "Check values by actionform, set values to XoopsSimpleObject"
  *
- *  This class was defined for "The prolongation of human life plan". This is not 
+ *	This class was defined for "The prolongation of human life plan". This is not 
  * the rule that you are forced.
  * 
  */
@@ -158,15 +158,15 @@
 				break;
 
 			case XOBJ_DTYPE_STRING:
-                $root =& XCube_Root::getSingleton();
-                $textFilter =& $root->getTextFilter();
-			    $value = $textFilter->toShow($this->mVars[$key]['value']);
+				$root =& XCube_Root::getSingleton();
+				$textFilter =& $root->getTextFilter();
+				$value = $textFilter->toShow($this->mVars[$key]['value']);
 				break;
 
 			case XOBJ_DTYPE_TEXT:
-				// TODO
-                $ts =& MyTextSanitizer::getInstance();
-                $value = $ts->displayTarea($this->mVars[$key]['value'], false, true, true, true, true);
+				$root =& XCube_Root::getSingleton();
+				$textFilter =& $root->getTextFilter();
+				$value = $textFilter->toShowTarea($this->mVars[$key]['value'], 0, 1, 1, 1, 1);
 				break;
 		}
 		


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