Set the max file size in bytes or use string like "30m", "2g" "500k"
Usage
$inputfieldFile->setMaxFilesize($filesize);
Arguments
Name | Type(s) | Description |
---|---|---|
filesize | int, string |
Return value
$this
Object instance it was called from (method supports fluent interface).
InputfieldFile methods and properties
API reference based on ProcessWire core version 3.0.236