Previous Page
save()

Solar_Example_Model_Metas_Collection
setModel()

Next Page
toArray()

setModel()

public void setModel ( Solar_Sql_Model $model )

Injects the model from which the data originates.

Inherited from Solar_Sql_Model_Collection.

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.