JView::loadTemplate
From Joomla! Documentation
Revision as of 16:32, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→User contributed notes: moving preparation)
Revision as of 16:32, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→User contributed notes: moving preparation)
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JView::loadTemplate[edit]
Description[edit]
Load a template file -- first look in the templates folder for an override.
Template: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[edit]
JView::loadTemplate source code on BitBucket
Class JView
Subpackage Application
- Other versions of JView::loadTemplate
Template:SeeAlso:JView::loadTemplate [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />