InputfieldFile::setMaxFilesize()

Set the max file size in bytes or use string like "30m", "2g" "500k"

Usage

$inputfieldFile->setMaxFilesize($filesize);

Arguments

NameType(s)Description
$filesizeint 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.251