HTML_QuickForm_file::getValue()

HTML_QuickForm_file::getValue() – Returns information about the uploaded file

Synopsis

require_once 'HTML/QuickForm/file.php';

array HTML_QuickForm_file::getValue ( )

Description

Returns the information about the file upload, as in the $_FILES array. Note that while there exists a setValue() method, the method does nothing at all. The file element does not have a value if the form was not submitted.

Throws

throws no exceptions thrown

Note

since 3.0

This function can not be called statically.

Returns size of file element (Previous) Checks if the element contains an uploaded file (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.