API17:JView::setModel
From Joomla! Documentation
JView::setModel
Description
Method to add a model to the view.
public function setModel (
&$model
$default=false
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| &$model | |||
| $default | false |
- Returns
- Defined on line 436 of libraries/joomla/application/component/view.php
See also
JView::setModel source code on BitBucket
Class JView
Subpackage Application- Other versions of JView::setModel
User contributed notes
Code Examples