JView::addTemplatePath: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Adds to the stack of view script paths in LIFO order. | Adds to the stack of view script paths in LIFO order. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 29: | Line 29: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | ||
* [[API17:JView::addTemplatePath|Other versions of JView::addTemplatePath]] | * [[API17:JView::addTemplatePath|Other versions of JView::addTemplatePath]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JView::addTemplatePath | category=JView::addTemplatePath | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 03:56, 25 March 2017
JView::addTemplatePath
Description
Adds to the stack of view script paths in LIFO order.
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
User contributed notes
Code Examples