[xoops-cvslog 2090] CVS update: xoops2jp/html/modules/base/admin/forms

Back to archive index

Minahito minah****@users*****
2006年 2月 2日 (木) 20:58:40 JST


Index: xoops2jp/html/modules/base/admin/forms/ModuleSettingsForm.class.php
diff -u xoops2jp/html/modules/base/admin/forms/ModuleSettingsForm.class.php:1.1.2.1 xoops2jp/html/modules/base/admin/forms/ModuleSettingsForm.class.php:removed
--- xoops2jp/html/modules/base/admin/forms/ModuleSettingsForm.class.php:1.1.2.1	Thu Dec  1 14:17:19 2005
+++ xoops2jp/html/modules/base/admin/forms/ModuleSettingsForm.class.php	Thu Feb  2 20:58:40 2006
@@ -1,39 +0,0 @@
-<?php
-
-require_once XOOPS_ROOT_PATH."/class/XCube_ActionForm.class.php";
-
-/**
- * This class is generated by makeActionForm tool.
- * @auchor makeActionForm
- */
-class ModuleSettingsForm extends XCube_ActionForm 
-{
-	function prepare()
-	{
-		// set properties
-		$this->mFormProperties['name']=new XCube_StringArrayProperty('name');
-		$this->mFormProperties['weight']=new XCube_IntArrayProperty('weight');
-		$this->mFormProperties['isactive']=new XCube_IntArrayProperty('isactive');
-
-		// set fields
-		$this->mFieldProperties['name']=new XCube_FieldProperty($this);
-		$this->mFieldProperties['name']->setDependsByArray(array('required','maxlength'));
-		$this->mFieldProperties['name']->addMessage("required",_MD_A_BASE_ERROR_REQUIRED,_MD_A_BASE_LANG_NAME,"140");
-		$this->mFieldProperties['name']->addMessage("maxlength",_MD_A_BASE_ERROR_MAXLENGTH,_MD_A_BASE_LANG_NAME,"140");
-		$this->mFieldProperties['name']->addVar("maxlength",140);
-
-		$this->mFieldProperties['weight']=new XCube_FieldProperty($this);
-		$this->mFieldProperties['weight']->setDependsByArray(array('required','min'));
-		$this->mFieldProperties['weight']->addMessage("min",_MD_A_BASE_ERROR_MIN,_MD_A_BASE_LANG_WEIGHT,"0");
-		$this->mFieldProperties['weight']->addVar("min",0);
-
-		$this->mFieldProperties['isactive']=new XCube_FieldProperty($this);
-		$this->mFieldProperties['isactive']->setDependsByArray(array('required','intRange'));
-		$this->mFieldProperties['isactive']->addMessage("min",_MD_A_BASE_ERROR_ABOUT_ISACTIVE);
-		$this->mFieldProperties['isactive']->addVar("min",0);
-		$this->mFieldProperties['isactive']->addVar("max",1);
-
-	}
-}
-
-?>


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