Files are uploaded in files/_tmp/ directory
static public file ( $options = [] ) : string | ||
$options | array of options - name string field name (default filename) - multiple boolean allow multiple file upload (default false) - onlyimages boolean restrict to image files (default false) - showfilecontainer string DOM ID of the container showing file uploaded: use selector to display - showfilesize boolean show file size with file name - rand string already computed rand value - pasteZone string DOM ID of the paste zone - dropZone string DOM ID of the drop zone | |
return | string | input file field |