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

Back to archive index

Minahito minah****@users*****
2006年 2月 4日 (土) 18:07:01 JST


Index: xoops2jp/html/modules/user/admin/forms/GroupMemberEditForm.class.php
diff -u /dev/null xoops2jp/html/modules/user/admin/forms/GroupMemberEditForm.class.php:1.1.2.1
--- /dev/null	Sat Feb  4 18:07:00 2006
+++ xoops2jp/html/modules/user/admin/forms/GroupMemberEditForm.class.php	Sat Feb  4 18:07:00 2006
@@ -0,0 +1,32 @@
+<?php
+
+require_once XOOPS_ROOT_PATH . "/class/XCube_ActionForm.class.php";
+
+class User_GroupMemberEditForm extends XCube_ActionForm
+{
+	function getTokenName()
+	{
+		return "module.user.GroupMemberEditForm.TOKEN";
+	}
+
+	function prepare()
+	{
+		//
+		// Set form properties
+		//
+		$this->mFormProperties['groupid'] =& new XCube_IntProperty('groupid');
+		$this->mFormProperties['uid'] =& new XCube_IntArrayProperty('uid');
+	
+		//
+		// Set field properties
+		//
+	
+		$this->mFieldProperties['uid'] =& new XCube_FieldProperty($this);
+		$this->mFieldProperties['uid']->setDependsByArray(array('intRange'));
+		$this->mFieldProperties['uid']->addMessage('intRange', _AD_USER_ERROR_REQUEST_IS_WRONG);
+		$this->mFieldProperties['uid']->addVar('min', '1');
+		$this->mFieldProperties['uid']->addVar('max', '2');
+	}
+}
+
+?>


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