API17

API17:JView::getModel

From Joomla! Documentation

Joomla 11.1 JView::getModel

Description

Method to get the model object.


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


User contributed notes

Code Examples