This is the Class that handles the building of the Form itself. It creates the Form Elements inside the form_init_elements() method.
Located in Program_Root/examples/form1.php (line 62)
FormContent | --AccountForm
Inherited from FormContent
FormContent::$_action_counter
FormContent::$_action_message
FormContent::$_cancel_action
FormContent::$_default_label_css
FormContent::$_elements
FormContent::$_error_label_css
FormContent::$_form_errors_title
FormContent::$_form_errors_width
FormContent::$_form_name
FormContent::$_has_confirm
FormContent::$_hidden_elements
FormContent::$_required_field_marker
FormContent::$_required_field_text
FormContent::$_stripslashes
FormContent::$_width
This is the method that builds the layout of where the FormElements will live. You can lay it out any way you like.
This method is called ONLY after ALL validation has passed. This is the method that allows you to do something with the data, say insert/update records in the DB.
This method gets called after the FormElement data has passed the validation. This enables you to validate the data against some backend mechanism, say a DB.
This method is called only the first time the form page is hit. This enables u to query a DB and pre populate the FormElement objects with data.
This method gets called EVERY time the object is created. It is used to build all of the FormElement objects used in this Form.
Inherited From FormContent
FormContent::FormContent()
FormContent::add_action()
FormContent::add_cancel()
FormContent::add_element()
FormContent::add_error()
FormContent::add_hidden_action()
FormContent::add_hidden_element()
FormContent::add_image_action()
FormContent::build_confirm_table()
FormContent::element_form()
FormContent::element_label()
FormContent::form()
FormContent::form_action()
FormContent::form_backend_validation()
FormContent::form_confirm()
FormContent::form_errors()
FormContent::form_init_data()
FormContent::form_init_elements()
FormContent::form_success()
FormContent::get_action()
FormContent::get_default_css()
FormContent::get_element()
FormContent::get_element_value()
FormContent::get_error_array()
FormContent::get_form_errors_width()
FormContent::get_hidden_element_value()
FormContent::get_required_fields_text()
FormContent::has_confirm()
FormContent::hidden_element_label()
FormContent::javascript()
FormContent::pre_confirm()
FormContent::set_action()
FormContent::set_action_message()
FormContent::set_cancel_action()
FormContent::set_confirm()
FormContent::set_default_css()
FormContent::set_element_value()
FormContent::set_error_css()
FormContent::set_form_errors_title()
FormContent::set_form_errors_width()
FormContent::set_form_name()
FormContent::set_form_width()
FormContent::set_hidden_element_value()
FormContent::set_required_marker()
FormContent::set_required_text()
FormContent::set_stripslashes()
FormContent::_test_element()
Documention generated on Thu, 31 Jul 2003 18:32:40 -0700 by phpDocumentor 1.2.0