
Public Member Functions | |
| initFields ($extra=array()) | |
| save ($commit=true) | |
Public Attributes | |
| $model = null | |
This class is used to generate a form for a given model.
| Pluf_Form_Model::initFields | ( | $ | extra = array() |
) |
Reimplemented from Pluf_Form.
| Pluf_Form_Model::save | ( | $ | commit = true |
) |
Save the model in the database.
| bool | Commit in the database or not. If not, the object is returned but not saved in the database. |
| Pluf_Form_Model::$model = null |
The model for which the form applies.