[xoops-cvslog 3578] CVS update: xoops2jp/html/modules/user/admin/forms

Back to archive index

Minahito minah****@users*****
2006年 7月 13日 (木) 19:49:22 JST


Index: xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php
diff -u xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php:1.1.2.5 xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php:removed
--- xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php:1.1.2.5	Tue Mar 28 22:32:04 2006
+++ xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php	Thu Jul 13 19:49:22 2006
@@ -1,49 +0,0 @@
-<?php
-
-if (!defined('XOOPS_ROOT_PATH')) exit();
-
-require_once XOOPS_ROOT_PATH."/class/XCube_ActionForm.class.php";
-
-/**
- * This class is generated by makeActionForm tool.
- * @auchor makeActionForm
- */
-class User_GroupEditForm extends XCube_ActionForm 
-{
-	function getTokenName()
-	{
-		return "module.user.GroupEditForm.TOKEN";
-	}
-
-	function prepare()
-	{
-		// set properties
-		$this->mFormProperties['groupid']=new XCube_IntProperty('groupid');
-		$this->mFormProperties['name']=new XCube_StringProperty('name');
-		$this->mFormProperties['description']=new XCube_TextProperty('description');
-
-		// set fields
-		$this->mFieldProperties['name']=new XCube_FieldProperty($this);
-		$this->mFieldProperties['name']->setDependsByArray(array('required','maxlength'));
-		$this->mFieldProperties['name']->addMessage("required",_AD_USER_ERROR_REQUIRED,_AD_USER_LANG_NAME,"100");
-		$this->mFieldProperties['name']->addMessage("maxlength",_AD_USER_ERROR_MAXLENGTH,_AD_USER_LANG_NAME,"100");
-		$this->mFieldProperties['name']->addVar("maxlength",100);
-
-	}
-
-	function load(&$group)
-	{
-		$this->set('groupid', $group->get('groupid'));
-		$this->set('name', $group->get('name'));
-		$this->set('description', $group->get('description'));
-	}
-
-	function update(&$group)
-	{
-		$group->setVar('groupid', $this->get('groupid'));
-		$group->setVar('name', $this->get('name'));
-		$group->setVar('description', $this->get('description'));
-	}
-}
-
-?>


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