Pluf_Form_Widget_Input Class Reference

Inheritance diagram for Pluf_Form_Widget_Input:

Pluf_Form_Widget Pluf_Form_Widget_CheckboxInput Pluf_Form_Widget_DatetimeInput Pluf_Form_Widget_FileInput Pluf_Form_Widget_HiddenInput Pluf_Form_Widget_PasswordInput Pluf_Form_Widget_ReCaptcha Pluf_Form_Widget_TextInput

List of all members.

Public Member Functions

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


Detailed Description

Base class for all the input widgets. (Except radio and checkbox).

Member Function Documentation

Pluf_Form_Widget_Input::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.

Reimplemented in Pluf_Form_Widget_CheckboxInput, Pluf_Form_Widget_DatetimeInput, Pluf_Form_Widget_FileInput, Pluf_Form_Widget_PasswordInput, and Pluf_Form_Widget_ReCaptcha.


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

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