Jet\Form_Renderer_Field_Input_Number

Renderer of a generic HTML tag input field, but this time focusing on the field types for entering a number. The class inherits from Form_Renderer_Field_Input.

The renderer is common to multiple form field types.

Default view scripts

Field type Default view
Form_Field::TYPE_INT field/input/int
Form_Field::TYPE_FLOAT field/input/float
Form_Field::TYPE_RANGE field/input/range

The value in the system configuration can be accessed as follows:

$view_script_start SysConf_Jet_Form_DefaultViews::get($field->getType(), 'input'); SysConf_Jet_Form_DefaultViews::set$field_type 'input''my-view-script');

Overview of methods

Method Meaning of
public setInputType(
string $input_type
) : void
View of a specific type of form element must set what input it is. That is practically the value of the type attribute.
protected generateTagAttributes_Standard(
) : void
This internal method generates the standard HTML attributes of the input tag based on the form field settings.
Previous chapter
Jet\Form_Renderer_Field_Input_Common
Next chapter
Jet\Form_Renderer_Field_Input_Checkbox