API16

API16:JInstaller/setPath

From Joomla! Documentation

Revision as of 22:53, 22 March 2010 by 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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Sets an installer path by name

[Edit Descripton]

Template:Description:JInstaller/setPath

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;
}

[Edit See Also] Template:SeeAlso:JInstaller/setPath

Examples

<CodeExamplesForm />