Difference between revisions of "JView::addTemplatePath"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JView::addTemplatePath|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JView::addTemplatePath|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function addTemplatePath ($path) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 25: | Line 24: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' void | |
− | void | + | * '''Defined''' on line 505 of libraries/joomla/application/component/view.php |
− | |||
− | libraries/joomla/application/component/view.php | ||
− | |||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JView::addTemplatePath source code''' on [[jplatform:application/component/view.php#cl-497|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JView/11.1|JView]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]] | ||
+ | * [[JView::addTemplatePath|Other versions of JView::addTemplatePath]] | ||
+ | {{SeeAlso:JView::addTemplatePath}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JView::addTemplatePath|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JView::addTemplatePath|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 46: | Line 43: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JView]][[Category:JView::addTemplatePath]]</noinclude> | <noinclude>[[Category:JView]][[Category:JView::addTemplatePath]]</noinclude> |
Revision as of 20:56, 27 April 2011
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::addTemplatePath[edit]
Description[edit]
Adds to the stack of view script paths in LIFO order.
Template:Description:JView::addTemplatePath [Edit Descripton]
public function addTemplatePath ($path)
Parameter | Type | Default | Description |
---|---|---|---|
$path | array | The directory (-ies) to add. |
- Returns void
- Defined on line 505 of libraries/joomla/application/component/view.php
See also[edit]
JView::addTemplatePath source code on BitBucket
Class JView
Subpackage Application
- Other versions of JView::addTemplatePath
Template:SeeAlso:JView::addTemplatePath [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />