Previous Page
setInvalids()

Solar_Sql_Model_Record
setModel()

Next Page
setRelatedPage()

setModel()

public void setModel ( Solar_Sql_Model $model )

Injects the model from which the data originates.

Parameters

  • (Solar_Sql_Model) $model: The origin model object.

Returns

  • (void)

Description

Injects the model from which the data originates.

Also loads accessor method lists for column and related properties.

These let users override how the column properties are accessed through the magic __get, __set, etc. methods.