Add a input element in elements array with name = $name of type = $type and properties = $aproperties
Parameters:
Add a javascript event = $event with code = $code for field = $field
Parameters:
API Tags:
Access: public
Add a group in the elements array with input elements and properties
Parameters:
API Tags:
Access: public
Create a input element of type=$type name=$name and propertiies The method is used in renderForm to cretate the form elements based on the elemets optiins array
Parameters:
API Tags:
Access: public
Creates a group element with name = $name and properties = $properties, containing input elements (array)
Parameters:
API Tags:
Access: public
Return the primary key(s) of the table as array
API Tags:
Access: public
Insert the data array into the database according to the table element.
Return true on succes, false otherwiese.
Parameters:
API Tags:
Access: public
The main method which should be called at end whenall other data for the form is prepared. The pethod perform constructiong of the form, obtaining data and save the data posted from the client.
Parameters:
API Tags:
Access: public
Automatically determines if the data posted from the form should be added or updated. The method use insert and update method for this purpose
Parameters:
API Tags:
Access: public
Set the options for the ajax submit
Parameters:
API Tags:
Access: public
Set the layout of the form. Can be: onecolumn - we have label and below this label the input form element.
twocolumn - the leabel is at one column left and the data in another right
Parameters:
API Tags:
Access: public
Set the connection used for add/update of the form post and when get the certain data.
Parameters:
API Tags:
Access: public
Set the form footer and properties.
Parameters:
API Tags:
Access: public
Set the form header and properties.
Parameters:
API Tags:
Access: public
Set the form properties in the elements array.
Parameters:
API Tags:
Access: public
Put a valid Java Script code after the form is rendered into the dom
Parameters:
API Tags:
Access: public
Set the primary key(s) for future using in add/update.
Parameters:
API Tags:
Access: public
Set a common style for the table, labels and data input elements
Parameters:
API Tags:
Access: public
Set the url from where to get data and add or update it.
Parameters:
API Tags:
Access: public
Update the data into the database according the table element A primaryKey should be set.
Parameters:
API Tags:
Access: public