JInstaller/setPath: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 44: | Line 44: | ||
===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=* | ||
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