Difference between revisions of "JView:: addPath"
From Joomla! Documentation
(Layout updates) |
m (preparing for archive only) |
||
(5 intermediate revisions by 2 users 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 ( | |
+ | $type | ||
+ | $path | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 30: | Line 30: | ||
|- | |- | ||
|} | |} | ||
− | === | + | * '''Returns''' |
+ | * '''Defined''' on line 658 of libraries/joomla/application/component/view.php | ||
+ | ===See also=== | ||
+ | * {{JVer|11.1}} '''JView::_addPath source code''' on [[jplatform:application/component/view.php#cl-650|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[API17:JView|JView]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | ||
+ | * [[API17:JView::_addPath|Other versions of JView::_addPath]] | ||
− | + | ||
− | + | ===User contributed notes=== | |
− | + | === Code Examples === | |
− | |||
− | === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ===Examples=== | ||
− | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JView::_addPath | category=JView::_addPath | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
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]