APP_Listing_Form
Form processing class
Package
Contents
Description Description
Methods Methods
- __construct — Constructs listing form object
- apply_atts — Applies additional attributes to each field.
- field_render — Generates field html.
- field_wrap — Wraps form field token and adds label and description.
- filter — Helper function to filter out a field based on its attributes.
- get_core_fields — Retrieves core fields
- get_defaults — Retrieves module's options default values to be registered in Listing options object.
- get_form — Retrieves generated form HTML
- get_form_fields — Retrieves an array of the fields after include/exclude filters to be used for the form processing or display.
- get_form_fields_raw — Retrieves a raw array of the form fields
- get_formdata — Get form fields metadata retrieved from the listing item.
- process_form — Processes listing form
- validate_post_data — Sanitizes and validates post data.