Jet\Form_Renderer_Field_Input_File

Renderer field to upload a file or files. 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_FILE field/input/file
Form_Field::TYPE_FILE_IMAGE field/input/file-image

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
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_Checkbox
Next chapter
Jet\Form_Renderer_Field_Input_Select