Difference between revisions of "JView:: addPath"
From Joomla! Documentation
m (→See also: moving preparation) |
m (clean up) |
||
Line 4: | Line 4: | ||
Adds to the search path for templates and resources. | Adds to the search path for templates and resources. | ||
− | {{Description:JView::_addPath}} | + | {{subst:Description:JView::_addPath}} |
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
protected function _addPath ( | protected function _addPath ( | ||
Line 39: | Line 37: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | ||
* [[API17:JView::_addPath|Other versions of JView::_addPath]] | * [[API17:JView::_addPath|Other versions of JView::_addPath]] | ||
− | {{SeeAlso:JView::_addPath}} | + | {{subst:SeeAlso:JView::_addPath}} |
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> |
Revision as of 11:23, 24 March 2017
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::_addPath[edit]
Description[edit]
Adds to the search path for templates and resources.
{{subst:Description:JView::_addPath}}
protected function _addPath (
$type
$path
)
Parameter | Type | Default | Description |
---|---|---|---|
$type | array | The directory or stream to search. | |
$path |
- Returns
- Defined on line 658 of libraries/joomla/application/component/view.php
See also[edit]
- JView::_addPath source code on BitBucket
- Class JView
- Subpackage Application
- Other versions of JView::_addPath
{{subst:SeeAlso:JView::_addPath}}
User contributed notes[edit]
<CodeExamplesForm />