Solar_Sql_Model_Catalog::getModelByClass()

public Solar_Sql_Model Solar_Sql_Model_Catalog::getModelByClass ( string $class )

Returns a stored model instance by class, creating it if needed.

Parameters

  • (string) $class: The model class.

Returns

  • (Solar_Sql_Model) A model instance.

Description

Returns a stored model instance by class, creating it if needed.



Local