ZMObject
└─ZMFormData
└─FormData
public class FormData
extends ZMFormData
| Field Summary | |
|---|---|
| protected mixed | |
| Fields inherited from org.zenmagick.mvc.forms\ZMFormData | |
|---|---|
| fields_ | |
| Fields inherited from org.zenmagick.core\ZMObject | |
|---|---|
| properties_ | |
| Method Summary | |
|---|---|
| void | Create new instance. |
| void | addTables(mixed tables) Set the name(s) of the tables to be used to populate custom fields. |
| void | Populate this form. |
| Methods inherited from org.zenmagick.mvc.forms\ZMFormData | |
|---|---|
| __construct, addFields, populate | |
| Methods inherited from org.zenmagick.core\ZMObject | |
|---|---|
| __construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton | |
protected mixed $tables_ = 5
public void __construct()
Create new instance.
public void addTables(mixed tables)
Set the name(s) of the tables to be used to populate custom fields.
public void populate(ZMRequest request)
Populate this form.
Form data container.
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.