API17:JController::addViewPath
From Joomla! Documentation
JController::addViewPath
Description
Add one or more view paths to the controller's stack, in LIFO order.
Template:Description:JController::addViewPath [Edit Descripton]
Synopsis
public JController->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 in
libraries/joomla/application/component/controller.php
Referenced by
See also
Template:SeeAlso:JController::addViewPath
Examples
<CodeExamplesForm />