API15:JView/addTemplatePath
From Joomla! Documentation
Description
Adds to the stack of view script paths in LIFO order.
Template:Description:JView/addTemplatePath
Syntax
addTemplatePath($path)
| Parameter Name | Default Value | Description |
|---|---|---|
| $path | The directory (-ies) to add. |
Returns
void
Defined in
libraries/joomla/application/component/view.php
Importing
jimport( 'joomla.application.component.view' );
Source Body
function addTemplatePath($path)
{
$this->_addPath('template', $path);
}
[Edit See Also] Template:SeeAlso:JView/addTemplatePath
Examples
<CodeExamplesForm />