Class User_GroupAdminEditForm

Brief:
[Abstract] Fetches input values, valudates fetched values and passes them to
some object. This class fetches the input value from the request value through
the current context object and validate those values. It separates fetching
& validating from your main logic. Such classes is important in web program.
Plus, this action form has features of one time token. It seems one kinds of
validations. The token is registered in templates. This is suggestion of a
simple action form. We do not force a module developer to use this. You can
learn more full-scale action forms from JAVA and .NET and other PHP. And, you
must use auto-generating tool when you need to ActionForm that is sub-class of
this class. XCube_ActionForm contains the one-time token feature for CSRF. But,
if the current HTTP request is from the web service, the token isn't needed.
Therefore, this class decides whether to use the token with the information of
the context.PublicRemarks:
This class is diable for XCube_Service, because the class uses SESSION directly.
XCube_ActionForm will be changed in the near feature. Developers need to pay
attention to spec change.Located athtml/modules/user/admin/forms/GroupAdminEditForm.class.php

Public

Overrides

Brief

Public

Overrides

Parameters

$obj

$objmixed

Returns

Set initial values to this action form from a object. This member function
mediates between the logic and the validation. For example, developers can use
this method to load values from XoopsSimpleObject. This member function is
abstract. But, the sub-class of this class doesn't have to implement this.

Brief

[Abstract] Initializes properties' values from an object.

Public

Overrides

Parameters

$obj

$objmixed

Returns

Set input values to a object from this action form. This member function
mediates between the logic and the result of validations. For example,
developers can use this method to set values to XoopsSimpleObject. This member
function is abstract. But, the sub-class of this class doesn't have to implement
this.