Pluf_Form_Field_Varchar Class Reference

Inheritance diagram for Pluf_Form_Field_Varchar:

Pluf_Form_Field

List of all members.

Public Member Functions

 clean ($value)
 widgetAttrs ($widget)

Public Attributes

 $widget = 'Pluf_Form_Widget_TextInput'
 $max_length = null
 $min_length = null


Member Function Documentation

Pluf_Form_Field_Varchar::clean ( value  ) 

Validate some possible input for the field.

Parameters:
mixed Value to clean.
Returns:
mixed Cleaned data or throw a Pluf_Form_Invalid exception.

Reimplemented from Pluf_Form_Field.

Pluf_Form_Field_Varchar::widgetAttrs ( widget  ) 

Returns the HTML attributes to add to the field.

Parameters:
object Widget
Returns:
array HTML attributes.

Reimplemented from Pluf_Form_Field.


Member Data Documentation

Pluf_Form_Field_Varchar::$widget = 'Pluf_Form_Widget_TextInput'

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

Reimplemented from Pluf_Form_Field.

Pluf_Form_Field_Varchar::$max_length = null

Pluf_Form_Field_Varchar::$min_length = null


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

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