JView:: setPath: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
Layout updates |
||
| Line 10: | Line 10: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
public | public JView::_setPath ($type, $path) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 33: | Line 33: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/application/component/view.php | libraries/joomla/application/component/view.php (line 651) | ||
* see source code in [[jplatform:application/component/view.php#cl-651|BitBucket]] | |||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 02:32, 24 April 2011
JView::_setPath
Description
Sets an entire array of search paths for templates or resources.
Template:Description:JView:: setPath [Edit Descripton]
Synopsis
public JView::_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 in
libraries/joomla/application/component/view.php (line 651)
- see source code in BitBucket
Referenced by
See also
Template:SeeAlso:JView:: setPath
Examples
<CodeExamplesForm />