ZenMagick 0.9.10


zenmagick.store.shared.mvc\FormData
mvc\FormData.php at line 34

Class FormData

ZMObject
└─ZMFormData
└─FormData

public class FormData
extends ZMFormData

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.

Author:
DerManoMann

Field Summary
protected mixed

$tables_

Fields inherited from org.zenmagick.mvc.forms\ZMFormData
fields_
Fields inherited from org.zenmagick.core\ZMObject
properties_
Method Summary
void

__construct()

Create new instance.

void

addTables(mixed tables)

Set the name(s) of the tables to be used to populate custom fields.

void

populate(ZMRequest request)

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

Field Detail

mvc\FormData.php at line 35

tables_

protected mixed $tables_ = 5

Method Detail

mvc\FormData.php at line 41

__construct

public void __construct()

Create new instance.


mvc\FormData.php at line 59

addTables

public void addTables(mixed tables)

Set the name(s) of the tables to be used to populate custom fields.

Parameters:
tables - Either an array or comma separated list of table names (without the prefix).

mvc\FormData.php at line 71

populate

public void populate(ZMRequest request)

Populate this form.

Parameters:
request - The request to process.

ZenMagick 0.9.10