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

Back to archive index

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


Index: xoops2jp/html/modules/legacyRender/admin/forms/TplfileEditForm.class.php
diff -u xoops2jp/html/modules/legacyRender/admin/forms/TplfileEditForm.class.php:1.1.2.3 xoops2jp/html/modules/legacyRender/admin/forms/TplfileEditForm.class.php:1.1.2.4
--- xoops2jp/html/modules/legacyRender/admin/forms/TplfileEditForm.class.php:1.1.2.3	Tue Mar 28 22:30:48 2006
+++ xoops2jp/html/modules/legacyRender/admin/forms/TplfileEditForm.class.php	Tue Jul 11 12:02:34 2006
@@ -1,4 +1,8 @@
 <?php
+/**
+ * @package legacyRender
+ * @version $Id: TplfileEditForm.class.php,v 1.1.2.4 2006/07/11 03:02:34 minahito Exp $
+ */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
@@ -7,7 +11,7 @@
 /**
  * This class is generated by makeActionForm tool.
  */
-class TplfileEditForm extends XCube_ActionForm
+class LegacyRender_TplfileEditForm extends XCube_ActionForm
 {
 	function getTokenName()
 	{
@@ -44,21 +48,21 @@
 	{
 		$obj->loadSource();
 		
-		$this->setVar('tpl_id', $obj->get('tpl_id'));
-		$this->setVar('tpl_desc', $obj->get('tpl_desc'));
-		$this->setVar('tpl_source', $obj->Source->get('tpl_source'));
+		$this->set('tpl_id', $obj->get('tpl_id'));
+		$this->set('tpl_desc', $obj->get('tpl_desc'));
+		$this->set('tpl_source', $obj->Source->get('tpl_source'));
 	}
 
 	function update(&$obj)
 	{
 		$obj->loadSource();
 
-		$obj->setVar('tpl_id', $this->get('tpl_id'));
-		$obj->setVar('tpl_desc', $this->get('tpl_desc'));
+		$obj->set('tpl_id', $this->get('tpl_id'));
+		$obj->set('tpl_desc', $this->get('tpl_desc'));
 
-		$obj->setVar('tpl_lastmodified', time());
+		$obj->set('tpl_lastmodified', time());
 
-		$obj->Source->setVar('tpl_source', $this->get('tpl_source'));
+		$obj->Source->set('tpl_source', $this->get('tpl_source'));
 	}
 }
 


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