Back to Joomla project (class list)

Class ViewInterface - list of methods

Joomla Platform CMS Interface
Package: Joomla\CMS\MVC\View
Copyright: (C) 2019 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE
Located at: Joomla/MVC/View/ViewInterface.php
Project: Joomla

Method Summary

public void
(mixed $tpl = null)

Execute and display a template script.
Parameters
  • string $tpl The name of the template file to parse; automatically searches through the template paths.
Returns
  • void
Since
  • 4.0.0
Show source code of this method: display Source Code

public \Joomla\CMS\MVC\Model\BaseDatabaseModel
(mixed $name = null)

Method to get the model object
Parameters
  • string $name The name of the model (optional)
Returns
  • \Joomla\CMS\MVC\Model\BaseDatabaseModel The model object
Since
  • 3.0
Show source code of this method: getModel Source Code

Tags Summary

Since
4.0.0