JView::loadTemplate/1.5
From Joomla! Documentation
JView::loadTemplate
Description
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 532 of libraries/joomla/application/component/view.php
See also
-
JView::loadTemplate on api.joomla.org
-
JView source code on JoomlaCode
-
Class JView
-
Subpackage Application
- Other versions of JView::loadTemplate
SeeAlso:JView::loadTemplate [Edit See Also]
User contributed notes
<CodeExamplesForm />