Difference between revisions of "JView:: addPath"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Adds to the search path for templates and resources. | Adds to the search path for templates and resources. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
protected function _addPath ( | protected function _addPath ( | ||
Line 36: | Line 34: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JView::_addPath source code''' on [[jplatform:application/component/view.php#cl-650|BitBucket]] | * {{JVer|11.1}} '''JView::_addPath source code''' on [[jplatform:application/component/view.php#cl-650|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JView | + | * {{JVer|11.1}} Class [[API17:JView|JView]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Application | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] |
− | * [[JView::_addPath|Other versions of JView::_addPath]] | + | * [[API17:JView::_addPath|Other versions of JView::_addPath]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JView::_addPath | category=JView::_addPath | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 54: | Line 50: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:56, 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.
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
User contributed notes[edit]
Code Examples[edit]