API17

JView:: setPath: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
Doxiki2 (talk | contribs)
Layout updates
Line 10: Line 10:
===Synopsis===
===Synopsis===
<source lang="php">
<source lang="php">
public JView->_setPath ($type, $path)
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

Joomla 11.1 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)

Referenced by

See also

[Edit See Also]

Template:SeeAlso:JView:: setPath

Examples

<CodeExamplesForm />