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 2017 of file formui.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

Parameters:
string $name The parameter to retrieve
Returns:
mixed The value of the parameter

Reimplemented from FormControl.

Definition at line 2028 of file formui.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.

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

Reimplemented from FormControl.

Definition at line 2044 of file formui.php.

FormControlFile::save ( storage = null  ) 

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

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

Reimplemented from FormControl.

Definition at line 2057 of file formui.php.


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