ViewInterface

Joomla Platform CMS Interface

since

4.0.0

package

Joomla CMS

Methods

display

Execute and display a template script.

display( tpl = null) : 
since

4.0.0

Arguments

tpl

stringThe name of the template file to parse; automatically searches through the template paths.

Response

void

getModel

Method to get the model object

getModel( name = null) : \Joomla\CMS\MVC\Model\BaseDatabaseModel
since

3.0

Arguments

name

stringThe name of the model (optional)

Response

BaseDatabaseModelThe model object