Alias of getRawValue(), InputFile elements do not allow filters
Overrides
HTML_QuickForm2_Node::getValue() (Returns the element's value, possibly with filters applied)
bool toggleFrozen(
[bool
$freeze = null])
|
|
File upload elements cannot be frozen
To properly "freeze" a file upload element one has to store the uploaded file somewhere and store the file info in session. This is way outside the scope of this class.
Overrides
HTML_QuickForm2_Node::toggleFrozen() (Changes the element's frozen status)
Parameters:
Performs the server-side validation
Before the Rules added to the element kick in, the element checks the error code added to the $_FILES array by PHP. If the code isn't UPLOAD_ERR_OK or UPLOAD_ERR_NO_FILE then a built-in error message will be displayed and no further validation will take place.
Overrides
HTML_QuickForm2_Node::validate() (Performs the server-side validation)