Solar_Sql_Model_Record::newForm()

public Solar_Form Solar_Sql_Model_Record::newForm ( array $cols = NULL )

Returns a new Solar_Form object pre-populated with column properties, values, and filters ready for processing (all based on the model for this record).

Parameters

  • (array) $cols: An array of column property names to include in the form. If empty, uses all fetch columns and all calculate columns.

Returns

  • (Solar_Form)

Description

Returns a new Solar_Form object pre-populated with column properties, values, and filters ready for processing (all based on the model for this record).



Local