API17

JView::getModel: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
Doxiki2 (talk | contribs)
Layout updates
Line 10: Line 10:
===Synopsis===
===Synopsis===
<source lang="php">
<source lang="php">
public JView->getModel ($name=null)
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

Joomla 11.1 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)

Referenced by

See also

[Edit See Also]

Template:SeeAlso:JView::getModel

Examples

<CodeExamplesForm />