Pluf_Form_Field_File Class Reference

Inheritance diagram for Pluf_Form_Field_File:

Pluf_Form_Field

List of all members.

Public Member Functions

 clean ($value)

Public Attributes

 $widget = 'Pluf_Form_Widget_FileInput'
 $move_function = 'Pluf_Form_Field_File_moveToUploadFolder'
 $max_size = 2097152
 $move_function_params = array()


Member Function Documentation

Pluf_Form_Field_File::clean ( value  ) 

Validate some possible input for the field.

Parameters:
mixed Input
Returns:
string Path to the file relative to 'upload_path'

Reimplemented from Pluf_Form_Field.


Member Data Documentation

Pluf_Form_Field_File::$widget = 'Pluf_Form_Widget_FileInput'

Widget. The way to "present" the field to the user.

Reimplemented from Pluf_Form_Field.

Pluf_Form_Field_File::$move_function = 'Pluf_Form_Field_File_moveToUploadFolder'

Pluf_Form_Field_File::$max_size = 2097152

Pluf_Form_Field_File::$move_function_params = array()


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

Generated on Wed Feb 3 15:44:52 2010 for Pluf by  doxygen