====== display ====== {#JAPI Joomla.Framework Application JView::display #} Executes and displays the template script. This method invokes the JView->loadTemplate() method and displays the results. ===== Syntax ===== void display ( **$tpl** ) | **$tpl** | string | is a stirng containing the name of the template to display. See the [[jview-loadtemplate|loadTemplate]] method for more information. This parameter is optional and if omitted defaults to null and the base template will be used. | ===== Examples ===== $view->display(); will cause the current view to be displayed using the current template. ---- ~~DISCUSSION~~ ISCUSSION~~