API17

JController::addViewPath: Difference between revisions

From Joomla! Documentation

m See also: moving preparation
m clean up
Line 4: Line 4:
Add one or more view paths to the controller's stack, in LIFO order.  
Add one or more view paths to the controller's stack, in LIFO order.  


{{Description:JController::addViewPath}}
{{subst:Description:JController::addViewPath}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JController::addViewPath|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public function addViewPath ($path)
public function addViewPath ($path)
Line 31: Line 29:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* [[API17:JController::addViewPath|Other versions of JController::addViewPath]]
* [[API17:JController::addViewPath|Other versions of JController::addViewPath]]
{{SeeAlso:JController::addViewPath}}
{{subst:SeeAlso:JController::addViewPath}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JController::addViewPath|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 14:56, 24 March 2017

Joomla 11.1 JController::addViewPath

Description

Add one or more view paths to the controller's stack, in LIFO order.

{{subst:Description:JController::addViewPath}}

public function addViewPath ($path)
Parameter Type Default Description
$path array The directory (string) or list of directories (array) to add.
  • Returns This object to support chaining.
  • Defined on line 413 of libraries/joomla/application/component/controller.php

See also

{{subst:SeeAlso:JController::addViewPath}}

User contributed notes

<CodeExamplesForm />