static class to manage and call a form
A form is identified by a selector, and each instance of a form have a unique id (formId). This id can be the id of a record for example. If it is not given, the id is set to 0.
Located in /forms/jForms.class.php (line 25)
destroy all form which are too old and unused
Create a new form with empty data
Call it to create a new form, before to display it. Data of the form are stored in the php session in a jFormsDataContainer object. If a form with same id exists, data are erased.
destroy a form in the session
use it after saving data of a form, and if you don't want to re-display the form.
get an existing instance of a form, and fill it with data provided by the request
use it in the action called to submit a webform.
get an existing instance of a form
In your controller, call it before to re-display a form with existing data.
Documentation generated on Thu, 22 Mar 2012 22:15:33 +0100 by phpDocumentor 1.4.3