API17

Difference between revisions of "JView::getModel"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(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 21:33, 23 April 2011

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.

Joomla 11.1 JView::getModel[edit]

Description[edit]

Method to get the model object.

Template:Description:JView::getModel [Edit Descripton]

Synopsis[edit]

public JView::getModel ($name=null)
Parameter Type Default Description
$name string null The name of the model (optional)

Returns[edit]

mixed object

Defined in[edit]

libraries/joomla/application/component/view.php (line 384)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JView::getModel

Examples[edit]

<CodeExamplesForm />