Difference between revisions of "JView::loadTemplate"

From Joomla! Documentation

m (JoomlaWikiBot moved page JView::loadTemplate/11.1 to API17:JView::loadTemplate without leaving a redirect: Robot: Moved page)
m (User contributed notes: moving preparation)
Line 46: Line 46:
format= ,,,
format= ,,,
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 16:32, 11 May 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JView::loadTemplate


Load a template file -- first look in the templates folder for an override.

Description:JView::loadTemplate [Edit Descripton]

public function loadTemplate ($tpl=null)
Parameter Type Default Description
$tpl string null The name of the template source file ... automatically searches the template paths and compiles as needed.
  • Returns string The output of the the template script.
  • Defined on line 528 of libraries/joomla/application/component/view.php

See also

SeeAlso:JView::loadTemplate [Edit See Also]

User contributed notes

<CodeExamplesForm />