Input form class.
This class defines an input form and has methods for adding form objects to the form, displaying the form, and requesting the forms state.
Located in /input.form.php (line 36)
True if all required form elements are valid
Caption of the cancel button.
Overall validity of form elements True if all added form elements are valid
URI for form to submit to.
The submit method to use: INFUSE_POST or INFUSE_GET
The name of the form.
Form objects in this form.
Additional submit buttons
Caption of the reset button.
Caption of the submit button.
Constructs a new form object.
Add a form object to the form.
Add additional submit button.
Add to a group of elements under one name ( nested array )
Has the form been cancelled? Can be called statically.
Clear form post values.
Display configured form buttons using optional specified class.
Buttons are displayed in the following order: Submit Other submit (preview, edit, delete, whatever) two if reset or cancel buttons are present Reset (if present) Cancel (if present)
name and id attributes are both assigned as follows: submit: <form name>_submit other submit: <form name>_<other name> (e.g. user_edit) reset: <form name>_reset cancel: input_form_cancel <-- only need one cancel button.
Basic display of form elements. Very crude. Your own templates can do better...
Display the closing form tag.
Display the form header.
Displays the beginning of the form in xhtml compliant fashion with the following attributes:
enctype multipart/form-data id assigned form name method get/post action assigned location class class passed as parameter, if any
This method should be used in conjunction with input_form::display_end.
Has the form been submitted with one of the 'other' buttons?
Calls reset all form elements
Has the form been submitted?
Convert constants to appropriate method string for rendered form.
Print array elements within a table.
Convert input parameters to defined constants for form method.
Utility function Reset contents of given array
Documentation generated on Fri, 28 Jan 2005 10:00:56 -0800 by phpDocumentor 1.2.3