Packages » Package freeform » Class UploadFileInputField

Class UploadFileInputField

Declaration:
<? class UploadFileInputField extends InputField ?>

Description:
This form field allows to create upload fields and validate uploaded files (check size, mime and whether the file was uploaded).

Parent Classes:
InputField

Authors:
  • Dennis Popel

Methods:
  • __construct()
    Create a new upload file input field
  • getRenderer()
    Return the renderer of this field for a particular document type
  • isValid()
    Validate the field