HTML_QuickForm::setMaxFileSize()

HTML_QuickForm::setMaxFileSize() – Sets the value of MAX_FILE_SIZE hidden element

Synopsis

require_once 'HTML/QuickForm.php';

void HTML_QuickForm::setMaxFileSize ( int $bytes )

Description

Sets the value of MAX_FILE_SIZE hidden element (used for file uploads).

Parameter

integer $bytes

Size in bytes

Throws

throws no exceptions thrown

Note

since 3.0

This function can not be called statically.

Removes an element (Previous) Updates Attributes for one or more elements (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.