Class

FormFieldNumberEditor

Package: builder Author: Julien BRISWALTER <j1.seth@phpboost.com> Desc: This class manage number fields. Located at builder/form/field/FormFieldNumberEditor.class.php
AbstractFormField implements FormField
Extended by FormFieldNumberEditor
Methods summary
public
# __construct( string $id, string $label, string $value, string[] $field_options = array(), array $constraints = array() )
public string
# display( )
protected
# compute_options( array & $field_options )
protected Template
Methods inherited from AbstractFormField
add_constraint(), add_event(), add_form_constraint(), assign_common_template_variables(), disable(), enable(), get_css_class(), get_css_field_class(), get_css_form_field_class(), 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(), retrieve_value(), 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(), set_value(), validate()
Properties summary
protected string $type 'number'
#
protected mixed $min null
#
protected integer $max 0
#
protected integer $step 0
#
protected string $pattern '[0-9]*'
#
Properties inherited from AbstractFormField
$constraints, $css_class, $css_field_class, $css_form_field_class, $description, $disabled, $events, $form_constraints, $hidden, $id, $label, $placeholder, $readonly, $required, $template, $validation_error_message, $value