API17

Difference between revisions of "JView:: addPath"

From Joomla! Documentation

m (→‎See also: moving preparation)
m (clean up)
Line 4: Line 4:
 
Adds to the search path for templates and resources.  
 
Adds to the search path for templates and resources.  
  
{{Description:JView::_addPath}}
+
{{subst:Description:JView::_addPath}}
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JView::_addPath|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
protected function _addPath (
 
protected function _addPath (
Line 39: Line 37:
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
 
* [[API17:JView::_addPath|Other versions of JView::_addPath]]
 
* [[API17:JView::_addPath|Other versions of JView::_addPath]]
{{SeeAlso:JView::_addPath}}
+
{{subst:SeeAlso:JView::_addPath}}
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JView::_addPath|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />

Revision as of 11:23, 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::_addPath[edit]

Description[edit]

Adds to the search path for templates and resources.

{{subst:Description:JView::_addPath}}

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]

{{subst:SeeAlso:JView::_addPath}}

User contributed notes[edit]

<CodeExamplesForm />