JView::getModel: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
Layout updates |
||
| Line 10: | Line 10: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
public | public JView::getModel ($name=null) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 28: | Line 28: | ||
mixed object | mixed object | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/application/component/view.php | libraries/joomla/application/component/view.php (line 384) | ||
* see source code in [[jplatform:application/component/view.php#cl-384|BitBucket]] | |||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 02:33, 24 April 2011
JView::getModel
Description
Method to get the model object.
Template:Description:JView::getModel [Edit Descripton]
Synopsis
public JView::getModel ($name=null)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $name | string | null | The name of the model (optional) |
Returns
mixed object
Defined in
libraries/joomla/application/component/view.php (line 384)
- see source code in BitBucket
Referenced by
See also
Template:SeeAlso:JView::getModel
Examples
<CodeExamplesForm />