LLMS_Form_Field
LLMS_Form_Field class
Description Description
Source Source
File: includes/forms/class-llms-form-field.php
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |
Methods Methods
- __construct — Constructor
- classes_ensure_array — Merge an array of classes into a string or array of classes
- define_data_source — Define the source of the data
- get_defaults — Get default field settings.
- get_deprecated_html_attributes — Ensure deprecated settings still function.
- get_description_html — Retrieve HTML for the fields description
- get_field_html — Retrieve the full HTML for the field.
- get_html — Retrieve the field's HTML.
- get_html_attributes — Retrieve an array of HTML attributes which should be added to the main field element.
- get_label_html — Retrieve the HTML for the fields label.
- get_label_position — Determines if the label element should be rendered before the field or after it.
- get_option_list_html — Retrieve the HTML for an options list in a select field.
- get_options_html — Retrieve the html for all options in a select field.
- get_settings — Retrieve the field settings array.
- is_input_group — Determines if the field is a group of checkboxes or radios.
- prepare — Prepares the field for rendering by configuring all of it's settings.
- prepare_options — Prepare the fields options.
- prepare_options_from_preset — Retrieve options list data based on the options_preset settings.
- prepare_password_strength_meter — Additional preparation for the password strength meter.
- prepare_storage — Setup default storage information.
- prepare_value — Prepare the field's value.
- prepare_voucher — Additional preparation for the special voucher field.
- prepare_wrapper_classes — Prepare CSS wrapper classes for the field.
- render — Render/output the field's html.