JView::addTemplatePath: Difference between revisions
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 02:56, 28 April 2011
JView::addTemplatePath
Description
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
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
<CodeExamplesForm />