Solar_Sql_Model_Record::initNew()

public void Solar_Sql_Model_Record::initNew ( Solar_Sql_Model $model , array $spec )

Initialize the record object as a "new" record; as with init(), this is effectively a "first load" method.

Parameters

  • (Solar_Sql_Model) $model: The originating model object instance (a dependency injection).

  • (array) $spec: The data with which to initialize this record.

Returns

  • (void)

Description

Initialize the record object as a "new" record; as with init(), this is effectively a "first load" method.

See Also



Local