API17

JView::getModel: Difference between revisions

From Joomla! Documentation

m →See also: moving preparation
m clean up
Line 4: Line 4:
Method to get the model object.  
Method to get the model object.  


{{Description:JView::getModel}}
{{subst:Description:JView::getModel}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JView::getModel|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public function getModel ($name=null)
public function getModel ($name=null)
Line 31: Line 29:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* [[API17:JView::getModel|Other versions of JView::getModel]]
* [[API17:JView::getModel|Other versions of JView::getModel]]
{{SeeAlso:JView::getModel}}
{{subst:SeeAlso:JView::getModel}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JView::getModel|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 16:23, 24 March 2017

Joomla 11.1 JView::getModel

Description

Method to get the model object.

{{subst:Description:JView::getModel}}

public function getModel ($name=null)
Parameter Type Default Description
$name string null The name of the model (optional)
  • Returns mixed object
  • Defined on line 368 of libraries/joomla/application/component/view.php

See also

{{subst:SeeAlso:JView::getModel}}

User contributed notes

<CodeExamplesForm />