Solar_Form_Load_Model::fetch()
public
array
Solar_Form_Load_Model::fetch
( Solar_Sql_Model $model
, array $load = NULL
, string $array_name = NULL
)
Loads Solar_Form elements based on Solar_Sql_Model columns.
Parameters
(Solar_Sql_Model)
$model
: Load form elements from this model object.(array)
$load
: Which model columns to load as form elements. If empty or '*', uses all fetch and calculate columns.(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.