API15

API15:JView/addTemplatePath

From Joomla! Documentation

Revision as of 21:53, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Adds to the stack of view script paths in LIFO order. <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JView/addTemplatePath|Edit De...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Adds to the stack of view script paths in LIFO order.

[Edit Descripton]

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 />