Class

AbstractFormFieldChoice

Abstract Package: builder Author: Régis Viarre <crowkait@phpboost.com> Desc: This class manage radio input fields. Located at builder/form/field/AbstractFormFieldChoice.class.php
AbstractFormField implements FormField
Extended by AbstractFormFieldChoice
Methods summary
public
# __construct( string $id, string $label, FormFieldEnumOption $value, array $options, array $field_options = array(), array $constraints = array() )
protected FormFieldEnumOption[]
protected
# add_option( FormFieldEnumOption $option )
public
# set_options( array $options )
protected
public
protected
# get_option( mixed $raw_option )
public
# get_option_id( mixed $raw_option )
public
# set_value( string $value )
Methods inherited from AbstractFormField
add_constraint(), add_event(), add_form_constraint(), assign_common_template_variables(), compute_options(), disable(), enable(), get_css_class(), get_css_field_class(), get_css_form_field_class(), get_default_template(), get_description(), get_form_id(), get_html_id(), get_id(), get_js_specialization_code(), get_js_validations(), get_label(), get_onblur_validation(), get_template_to_use(), get_validation_error_message(), get_value(), has_constraints(), has_pattern(), has_placeholder(), is_disabled(), is_hidden(), is_readonly(), is_required(), set_css_class(), set_css_field_class(), set_css_form_field_class(), set_description(), set_disabled(), set_fieldset_id(), set_form_id(), set_hidden(), set_id(), set_label(), set_pattern(), set_placeholder(), set_readonly(), set_required(), set_template(), set_validation_error_message(), validate()
Methods inherited from HTMLElement
display()
Properties inherited from AbstractFormField
$constraints, $css_class, $css_field_class, $css_form_field_class, $description, $disabled, $events, $form_constraints, $hidden, $id, $label, $pattern, $placeholder, $readonly, $required, $template, $validation_error_message, $value