API15:JView/addTemplatePath
From Joomla! Documentation
Description
Adds to the stack of view script paths in LIFO order.
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
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);
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
Code Examples