One or more file uploads (sortable)
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the Inputfield
class also inherits all the methods and properties of: Inputfield, WireData and Wire.
Common
Name | Return | Summary | |
---|---|---|---|
Inputfield | int | Number of rows for description field (default=1, 0=disable) | |
Inputfield | string | Destination path for uploaded file | |
Inputfield | string | Allowed file extensions, space separated | |
Inputfield Inputfield Inputfield | array | ) | |
Inputfield Inputfield Inputfield | (nothing) | ||
Inputfield Inputfield Inputfield | mixed null | Get a property or attribute from the Inputfield | |
Inputfield Inputfield Inputfield | InputfieldWrapper | Configuration settings for Inputfield | |
Inputfield Inputfield Inputfield | string | Get a basename for the file, possibly shortened, suitable for display in Inputfield | |
Inputfield Inputfield Inputfield | bool InputfieldWrapper | Get custom Inputfields for editing given Pagefile | |
Inputfield Inputfield Inputfield | WireUpload | Return the current WireUpload instance or create a new one if not yet created | |
Inputfield Inputfield Inputfield | bool | Per Inputfield interface, returns true when this field is empty | |
Inputfield | string | Class name(s) for each file item (default=Inputfield | |
Inputfield | int | Maximum number of files allowed | |
Inputfield | int | Maximum file size | |
Inputfield | bool int | Set to true or 1 to disable ajax uploading | |
Inputfield | bool int | Set to true to disable collapsed items (like for LanguageTranslator tool or other things that add tools to files) | |
Inputfield | bool int | Set to true to disable use of the styled <input type='file'> | |
Inputfield | bool int | Set to true or 1 to disable multi-language descriptions | |
Inputfield | bool int | Set to true to disable shortened filenames in output | |
Inputfield | bool int | Set to true or 1 to disable uploading to this field | |
Inputfield | array | File extensions that are whitelisted if any in $extensions are problematic. (3.0.167+) | |
Inputfield | bool int | Whether or not overwrite mode is enabled | |
Inputfield Inputfield Inputfield | self | Process input | |
Inputfield Inputfield Inputfield | Pagefile null | ||
Inputfield Inputfield Inputfield | (nothing) | ||
Inputfield Inputfield Inputfield | bool | ||
Inputfield Inputfield Inputfield | bool | ||
Inputfield Inputfield Inputfield | string | Render Inputfield input | |
Inputfield Inputfield Inputfield | string | ||
Inputfield Inputfield Inputfield | string | ||
Inputfield Inputfield Inputfield | bool | Render ready | |
Inputfield Inputfield Inputfield | string | ||
Inputfield Inputfield Inputfield | string | Render Inputfield value | |
Inputfield Inputfield Inputfield | Inputfield WireData | Set a property or attribute to the Inputfield | |
Inputfield Inputfield Inputfield | Inputfield Inputfield | Set an attribute | |
Inputfield Inputfield Inputfield | $this | Set the max file size in bytes or use string like "30m", "2g" "500k" | |
Inputfield Inputfield Inputfield | $this | Set the parent of this Inputfield | |
Inputfield | string | Predefined tags | |
Inputfield | bool int | Whether or not unzip is enabled | |
Inputfield | int | Set to true or 1 to disable existing file list display, or 2 to also prevent file from having 'temp' status. | |
Inputfield | bool | Whether or not tags are enabled | |
Inputfield | Pagefiles Pagefile null |
Additional methods and properties
In addition to the methods and properties above, Inputfield
API reference based on ProcessWire core version 3.0.236