API15

JView/addTemplatePath: Difference between revisions

From Joomla! Documentation

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...
 
m removing red link to edit, no existant pages
Line 3: Line 3:


<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JView/addTemplatePath|Edit Descripton]]<nowiki>]</nowiki>
<nowiki>[<! removed edit link to red link >]</nowiki>
</span>
</span>


{{Description:JView/addTemplatePath}}
<! removed transcluded page call, red link never existed >


===Syntax===
===Syntax===
Line 39: Line 39:


<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[SeeAlso:JView/addTemplatePath|Edit See Also]]<nowiki>]</nowiki>
<nowiki>[<! removed edit link to red link >]</nowiki>
</span>
</span>
{{SeeAlso:JView/addTemplatePath}}
<! removed transcluded page call, red link never existed >


===Examples===
===Examples===
Line 54: Line 54:
  format= ,,,
  format= ,,,
</dpl>
</dpl>
[[Category:Archived pages API15]]

Revision as of 18:58, 12 May 2013

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

<CodeExamplesForm />