Public Member Functions

FormControlFile Class Reference

Inheritance diagram for FormControlFile:
Collaboration diagram for FormControlFile:

List of all members.

Public Member Functions

 __get ($name)
 get ($forvalidation=true)
 save ($storage=null)

Detailed Description

A file upload control based on FormControl for output via a FormUI.

Definition at line 8 of file formcontrolfile.php.

Member Function Documentation

FormControlFile::__get ( name  ) 

Magic function __get returns properties for this object, or passes it on to the parent class Potential valid properties: tmp_file: The uploaded file

string $name The parameter to retrieve
mixed The value of the parameter

Definition at line 19 of file formcontrolfile.php.

FormControlFile::get ( forvalidation = true  ) 

Return the HTML construction of the control, after changing the encoding of the parent form to allow for file uploads.

boolean $forvalidation True if the control should output validation information with the control.

Definition at line 35 of file formcontrolfile.php.

FormControlFile::save ( storage = null  ) 

Store this control's value under the control's specified key.

string $storage (optional) A storage location to store the control data

Definition at line 48 of file formcontrolfile.php.

The documentation for this class was generated from the following file: