API17:JView::getModel
From Joomla! Documentation
JView::getModel
Description
Method to get the model object.
public function getModel ($name=null)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $name | string | null | The name of the model (optional) |
- Returns mixed object
- Defined on line 368 of libraries/joomla/application/component/view.php
See also
JView::getModel source code on BitBucket
Class JView
Subpackage Application- Other versions of JView::getModel
User contributed notes
Code Examples