JView:: setPath: Difference between revisions
From Joomla! Documentation
m JoomlaWikiBot moved page JView:: setPath/11.1 to API17:JView:: setPath without leaving a redirect: Robot: Moved page |
m preparing for archive only |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
Sets an entire array of search paths for templates or resources. | Sets an entire array of search paths for templates or resources. | ||
<source lang="php"> | <source lang="php"> | ||
protected function _setPath ( | protected function _setPath ( | ||
| Line 36: | Line 34: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JView::_setPath source code''' on [[jplatform:application/component/view.php#cl-618|BitBucket]] | * {{JVer|11.1}} '''JView::_setPath source code''' on [[jplatform:application/component/view.php#cl-618|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::_setPath|Other versions of JView::_setPath]] | * [[API17:JView::_setPath|Other versions of JView::_setPath]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JView::_setPath | category=JView::_setPath | ||
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 03:56, 25 March 2017
JView::_setPath
Description
Sets an entire array of search paths for templates or resources.
protected function _setPath (
$type
$path
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $type | string | The type of path to set, typically 'template'. | |
| $path | array | The new set of search paths. If null or false, resets to the current directory only. |
- Returns
- Defined on line 626 of libraries/joomla/application/component/view.php
See also
JView::_setPath source code on BitBucket
Class JView
Subpackage Application- Other versions of JView::_setPath
User contributed notes
Code Examples