Actions

API17

Difference between revisions of "JView::loadTemplate"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 10: Line 10:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JView->loadTemplate ($tpl=null)
+
public JView::loadTemplate ($tpl=null)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 28: Line 28:
 
string The output of the the template script.
 
string The output of the the template script.
 
===Defined in===
 
===Defined in===
libraries/joomla/application/component/view.php
+
libraries/joomla/application/component/view.php (line 551)
 +
* see source code in [[jplatform:application/component/view.php#cl-551|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 21:33, 23 April 2011

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

Description

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

Description:JView::loadTemplate [Edit Descripton]

Synopsis

public JView::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 in

libraries/joomla/application/component/view.php (line 551)

Referenced by

See also

[Edit See Also]

SeeAlso:JView::loadTemplate

Examples

<CodeExamplesForm />