Pluf_Form_Widget_FileInput Class Reference

Inheritance diagram for Pluf_Form_Widget_FileInput:

Pluf_Form_Widget_Input Pluf_Form_Widget

List of all members.

Public Member Functions

 render ($name, $value, $extra_attrs=array())

Public Attributes

 $input_type = 'file'
 $needs_multipart_form = true


Detailed Description

Simple input of type file.

Member Function Documentation

Pluf_Form_Widget_FileInput::render ( name,
value,
extra_attrs = array() 
)

Renders the HTML of the input.

Parameters:
string Name of the field.
mixed Value for the field, can be a non valid value.
array Extra attributes to add to the input form (array())
Returns:
string The HTML string of the input.

Reimplemented from Pluf_Form_Widget_Input.


Member Data Documentation

Pluf_Form_Widget_FileInput::$input_type = 'file'

Input type of the field.

Reimplemented from Pluf_Form_Widget.

Pluf_Form_Widget_FileInput::$needs_multipart_form = true

Do we need multipart?

Reimplemented from Pluf_Form_Widget.


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

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