LanguagesControllerLanguages::getModel
Method to get a model object, loading it if required.
Signature
public function getModel([string
$name = 'Language',
[string
$prefix = 'LanguagesModel',
array
$config]] )
Parameters
-
$name
- The model name. Optional.
-
$prefix
- The class prefix. Optional.
-
$config
- Configuration array for model. Optional.
Returns
- The model.