JModelLegacy::getInstance
Returns a Model object, always creating it
Signature
public function getInstance(string
$type,
[string
$prefix = '',
array
$config] )
Parameters
-
$type
- The model type to instantiate
-
$prefix
- Prefix for the model class name. Optional.
-
$config
- Configuration array for model. Optional.
Returns
- mixed
- A model object or false on failure