JControllerLegacy::createModel
Method to load and return a model object.
Signature
protected function createModel(string
$name,
[string
$prefix = '',
array
$config] )
Parameters
-
$name
- The name of the model.
-
$prefix
- Optional model prefix.
-
$config
- Configuration array for the model. Optional.
Returns
- mixed
- Model object on success; otherwise null failure.