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
string
The 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
string
The name of the model (optional)
Response
BaseDatabaseModel
The model object