Actions

API17

Difference between revisions of "JInstaller::getPath"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JInstaller::getPath|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JInstaller::getPath|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JInstaller->getPath ($name, $default=null)
+
public function getPath (
 +
        $name
 +
        $default=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 29: Line 29:
 
|string
 
|string
 
|null
 
|null
|Default value  
+
|Default value
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' string Path
string Path
+
* '''Defined''' on line 223 of libraries/joomla/installer/installer.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/installer/installer.php
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JInstaller::getPath source code''' on [[jplatform:installer/installer.php#cl-215|BitBucket]]
 +
* {{JVer|11.1}} Class [[JInstaller/11.1|JInstaller]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Installer/11.1|Installer]]
 +
* [[JInstaller::getPath|Other versions of JInstaller::getPath]]
 +
{{SeeAlso:JInstaller::getPath}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JInstaller::getPath|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JInstaller::getPath|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JInstaller/11.1|JInstaller]]
+
===User contributed notes===
* [[JInstaller::getPath|Other versions of this method]]
+
{{SeeAlso:JInstaller::getPath}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 52: Line 52:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JInstaller]][[Category:JInstaller::getPath]]</noinclude>
 
<noinclude>[[Category:JInstaller]][[Category:JInstaller::getPath]]</noinclude>

Revision as of 21:11, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JInstaller::getPath

Description

Get an installer path by name.

Description:JInstaller::getPath [Edit Descripton]

public function getPath (
        $name
        $default=null
)
Parameter Type Default Description
$name string Path name
$default string null Default value
  • Returns string Path
  • Defined on line 223 of libraries/joomla/installer/installer.php
  • Since Joomla 11.1

See also

SeeAlso:JInstaller::getPath [Edit See Also]

User contributed notes

<CodeExamplesForm />