{hero}

files()

Since: Editor 1.5

Get information about multiple uploaded files.
Please note - this property requires the Editor extension for DataTables.

The full Editor reference documentation is available to registered users of Editor - the information shown below is a summary only. If you already have an Editor license please , alternatively an Editor license can be purchased on this site, or sign up for the free trial.

Description

The Editor upload and uploadMany field types provide the ability for an end user to upload files to a server, potentially storing information about the file on a database (this is not mandatory for the upload field types to work, but it is required for this method to return information about the available file).

    This method provides access to information about all uploaded files (unlike its counterpart `e-api file()` method which gives information about a single file).

    This can potentially be useful if you want to create an input option that will show the end user all previously uploaded files and allow them to select one or more files.