Actions

API17

Difference between revisions of "JDocumentError:: loadTemplate"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JDocumentError::_loadTemplate|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JDocumentError::_loadTemplate|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JDocumentError::_loadTemplate ($directory, $filename)
+
public function _loadTemplate (
 +
        $directory
 +
        $filename
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' string The contents of the template
string The contents of the template
+
* '''Defined''' on line 112 of libraries/joomla/document/error/error.php
===Defined in===
+
libraries/joomla/document/error/error.php (line 115)
+
* see source code in [[jplatform:document/error/error.php#cl-115|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JDocumentError::_loadTemplate source code''' on [[jplatform:document/error/error.php#cl-104|BitBucket]]
 +
* {{JVer|11.1}} Class [[JDocumentError/11.1|JDocumentError]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Document/11.1|Document]]
 +
* [[JDocumentError::_loadTemplate|Other versions of JDocumentError::_loadTemplate]]
 +
{{SeeAlso:JDocumentError::_loadTemplate}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDocumentError::_loadTemplate|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JDocumentError::_loadTemplate|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JDocumentError/11.1|JDocumentError]]
+
===User contributed notes===
* [[JDocumentError::_loadTemplate|Other versions of this method]]
+
{{SeeAlso:JDocumentError::_loadTemplate}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 51: Line 51:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JDocumentError]][[Category:JDocumentError::_loadTemplate]]</noinclude>
 
<noinclude>[[Category:JDocumentError]][[Category:JDocumentError::_loadTemplate]]</noinclude>

Revision as of 20:47, 27 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 JDocumentError::_loadTemplate

Description

Load a template file.

Description:JDocumentError:: loadTemplate [Edit Descripton]

public function _loadTemplate (
        $directory
        $filename
)
Parameter Type Default Description
$directory string $template The name of the template
$filename string The actual filename
  • Returns string The contents of the template
  • Defined on line 112 of libraries/joomla/document/error/error.php

See also

SeeAlso:JDocumentError:: loadTemplate [Edit See Also]

User contributed notes

<CodeExamplesForm />