JController:: createModel/1.5
From Joomla! Documentation
JController::_createModel
Description
Method to load and return a model object.
Description:JController:: createModel [Edit Descripton]
public & function _createModel ( $name $prefix= '' $config=array )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $name | string | The name of the model. | |
| $prefix | string | Optional model prefix. | |
| $config | array | array() | Configuration array for the model. Optional. |
- Returns mixed Model object on success; otherwise null failure.
- Defined on line 585 of libraries/joomla/application/component/controller.php
- Since

See also
JController::_createModel on api.joomla.org
JController source code on JoomlaCode
Class JController
Subpackage Application- Other versions of JController::_createModel
SeeAlso:JController:: createModel [Edit See Also]