JView::setModel
From Joomla! Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JView::setModel[edit]
Description[edit]
Method to add a model to the view.
Template:Description:JView::setModel [Edit Descripton]
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[edit]
- JView::setModel source code on BitBucket
- Class JView
- Subpackage Application
- Other versions of JView::setModel
Template:SeeAlso:JView::setModel [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />