scbFormField
Base class for form fields implementations.
Package
Description Description
Methods Methods
- __construct — Constructor.
- __get — Magic method: $field->arg
- __isset — Magic method: isset( $field->arg )
- _checkbox — Handle args for a single checkbox or radio input.
- _expand_choices
- _input_gen — Generate html with the final args.
- _render — The actual rendering.
- _set_value — Mutate the field arguments so that the value passed is rendered.
- add_desc — Adds description before/after the form field.
- add_label — Wraps a form field in a label, and position field description.
- create — Creates form field.
- is_associative — Checks if passed array is associative.
- render — Generate the corresponding HTML for a field.