Solar_Sql_Model_Catalog::loadModel()

public bool Solar_Sql_Model_Catalog::loadModel ( string $name )

Loads a model from the stack into the catalog by name, returning a true/false success indicator (instead of throwing an exception when the class cannot be found).

Parameters

  • (string) $name: The model name to load from the stack into the catalog.

Returns

  • (bool) True on success, false on failure.

Description

Loads a model from the stack into the catalog by name, returning a true/false success indicator (instead of throwing an exception when the class cannot be found).



Local