[xoops-cvslog 3526] CVS update: xoops2jp/html/modules/legacyRender/admin/forms

Back to archive index

Minahito minah****@users*****
2006年 7月 11日 (火) 12:03:11 JST


Index: xoops2jp/html/modules/legacyRender/admin/forms/TplsetDeleteForm.class.php
diff -u xoops2jp/html/modules/legacyRender/admin/forms/TplsetDeleteForm.class.php:1.1.2.2 xoops2jp/html/modules/legacyRender/admin/forms/TplsetDeleteForm.class.php:1.1.2.3
--- xoops2jp/html/modules/legacyRender/admin/forms/TplsetDeleteForm.class.php:1.1.2.2	Tue Mar 28 22:30:48 2006
+++ xoops2jp/html/modules/legacyRender/admin/forms/TplsetDeleteForm.class.php	Tue Jul 11 12:03:10 2006
@@ -1,4 +1,8 @@
 <?php
+/**
+ * @package legacyRender
+ * @version $Id: TplsetDeleteForm.class.php,v 1.1.2.3 2006/07/11 03:03:10 minahito Exp $
+ */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
@@ -7,8 +11,13 @@
 /**
  * This class is generated by makeActionForm tool.
  */
-class TplsetDeleteForm extends XCube_ActionForm
+class LegacyRender_TplsetDeleteForm extends XCube_ActionForm
 {
+	function getTokenName()
+	{
+		return "module.legacyRender.TplsetDeleteForm.TOKEN" . $this->get('tplset_id');
+	}
+
 	function prepare()
 	{
 		//
@@ -23,19 +32,15 @@
 		$this->mFieldProperties['tplset_id']->setDependsByArray(array('required'));
 		$this->mFieldProperties['tplset_id']->addMessage('required', _AD_LEGACYRENDER_ERROR_REQUIRED, _AD_LEGACYRENDER_LANG_TPLSET_ID);
 	}
-	function getTokenName()
-	{
-		return "module.legacyRender.TplsetDeleteForm.TOKEN";
-	}
 
 	function load(&$obj)
 	{
-		$this->setVar('tplset_id', $obj->get('tplset_id'));
+		$this->set('tplset_id', $obj->get('tplset_id'));
 	}
 
 	function update(&$obj)
 	{
-		$obj->setVar('tplset_id', $this->get('tplset_id'));
+		$obj->set('tplset_id', $this->get('tplset_id'));
 	}
 }
 


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