ZMObject
|
+--ZMFormBean
public class ZMFormBean
extends ZMObject
| Field Summary | |
|---|---|
| protected mixed | |
| protected mixed | |
| Fields inherited from org.zenmagick.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
Create new instance. |
|
| Method Summary | |
|---|---|
| void | addFields(mixed fields) Limit populating this form bean to the given fields. |
| void | addTables(mixed tables) Set the name(s) of the tables to be used to populate custom fields. |
| void | populate() Populate this form. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
protected mixed $fields_
protected mixed $tables_
public ZMFormBean()
Create new instance. /
public void addFields(mixed fields)
Limit populating this form bean to the given fields.
public void addTables(mixed tables)
Set the name(s) of the tables to be used to populate custom fields.
public void populate()
Populate this form. /
Base class for form data container.
Extending from this class allows to restrict the fields taken from the request to a given list via
addFields().Furthermore, using
addTables()allows to extend the list of fields with all custom fields configured for the listes tables. This allows capturing and handling custom table columns in the used form.