Pluf_Form_Model Class Reference

Inheritance diagram for Pluf_Form_Model:

Pluf_Form

List of all members.

Public Member Functions

 initFields ($extra=array())
 save ($commit=true)

Public Attributes

 $model = null


Detailed Description

Dynamic form validation class.

This class is used to generate a form for a given model.


Member Function Documentation

Pluf_Form_Model::initFields ( extra = array()  ) 

Reimplemented from Pluf_Form.

Pluf_Form_Model::save ( commit = true  ) 

Save the model in the database.

Parameters:
bool Commit in the database or not. If not, the object is returned but not saved in the database.
Returns:
Object Model with data set from the form.


Member Data Documentation

Pluf_Form_Model::$model = null

The model for which the form applies.


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

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