API16

JInstaller/setPath: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
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


<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JInstaller/setPath|Edit Descripton]]<nowiki>]</nowiki>
</span>


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


===Syntax===
===Syntax===
Line 42: Line 40:
</source>
</source>


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


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=setPath
  category=setPath
  category=JInstaller
  category=JInstaller
  category=CodeExample
  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