This value is also used to identify fields in the $_POST or $_GET
(depending on the forms method) collection when the form is submitted.
public setModel ( Gdn_Model $Model, Ressource $DataSet = false ) | ||
$Model | Gdn_Model | The Model that will enforce data rules on $this->_DataArray. This value is passed by reference so any changes made to the model outside this object apply when it is referenced here. |
$DataSet | Ressource | A result resource containing data to be filled in the form. |