API17

Difference between revisions of "JView:: setPath"

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:
 
Sets an entire array of search paths for templates or resources.  
 
Sets an entire array of search paths for templates or resources.  
  
{{Description:JView::_setPath}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JView::_setPath|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<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/11.1|JView]]
+
* {{JVer|11.1}} Class [[API17:JView|JView]]
* {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* [[JView::_setPath|Other versions of JView::_setPath]]
+
* [[API17:JView::_setPath|Other versions of JView::_setPath]]
{{SeeAlso:JView::_setPath}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JView::_setPath|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JView::_setPath
 
category=JView::_setPath
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 54: Line 50:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JView]][[Category:JView::_setPath]]</noinclude>
+
<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.

Joomla 11.1 JView::_setPath[edit]

Description[edit]

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[edit]


User contributed notes[edit]

Code Examples[edit]