Solar_Sql_Model_Collection::setModel()

public void Solar_Sql_Model_Collection::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.



Local