|
Previous Page |
Solar_Form_Load_Model |
Next Page |
fetch()
public
array
fetch (
Solar_Sql_Model $model,
array $list default '*',
string $array_name default NULL
)
Loads Solar_Form elements based on Solar_Sql_Model columns.
Parameters
- (Solar_Sql_Model)
$model: Load form elements from this model object. - (array)
$list: Which model columns to load as form elements, default '*'. - (string)
$array_name: Load the model columns as elements of this array-name within the form.
Returns
- (array) An array of form attributes and elements.
Description
Loads Solar_Form elements based on Solar_Sql_Model columns.