FOFController::createModel
Creates a new model object
Signature
protected function createModel(string
$name,
[string
$prefix = '',
array
$config] )
Parameters
-
$name
- The name of the model class, e.g. Items
-
$prefix
- The prefix of the model class, e.g. FoobarModel
-
$config
- The configuration parameters for the model class
Returns
- FOFModel
- The model object