JInstaller/setPath: Difference between revisions
From Joomla! Documentation
New page: ===Description===
Sets an installer path by name
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowik... |
m preparing for archive only |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
Sets an installer path by name | Sets an installer path by name | ||
<! removed transcluded page call, red link never existed > | |||
===Syntax=== | ===Syntax=== | ||
| Line 42: | Line 40: | ||
</source> | </source> | ||
<! removed transcluded page call, red link never existed > | |||
< | |||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=setPath | category=setPath | ||
category=JInstaller | category=JInstaller | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
[[Category:Archived pages API16]] | |||
Latest revision as of 01:48, 25 March 2017
Description
Sets an installer path by name
<! removed transcluded page call, red link never existed >
Syntax
setPath($name, $value)
| Parameter Name | Default Value | Description |
|---|---|---|
| $name | $name Path name | |
| $value | $value Path |
Returns
void
Defined in
libraries/joomla/installer/installer.php
Importing
jimport( 'joomla.installer.installer' );
Source Body
public function setPath($name, $value)
{
$this->_paths[$name] = $value;
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples