Difference between revisions of "JInstaller::getPath"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (preparing for archive only) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
Get an installer path by name. | Get an installer path by name. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function getPath ( |
+ | $name | ||
+ | $default=null | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 29: | Line 27: | ||
|string | |string | ||
|null | |null | ||
− | |Default value | + | |Default value |
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' string Path | |
− | string Path | + | * '''Defined''' on line 223 of libraries/joomla/installer/installer.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/installer/installer.php | ||
− | |||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JInstaller::getPath source code''' on [[jplatform:installer/installer.php#cl-215|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JInstaller|JInstaller]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Installer|Installer]] | |
− | * | + | * [[API17:JInstaller::getPath|Other versions of JInstaller::getPath]] |
− | * [[JInstaller::getPath|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JInstaller::getPath | category=JInstaller::getPath | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:16, 24 March 2017
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JInstaller::getPath[edit]
Description[edit]
Get an installer path by name.
public function getPath (
$name
$default=null
)
Parameter | Type | Default | Description |
---|---|---|---|
$name | string | Path name | |
$default | string | null | Default value |
See also[edit]
- JInstaller::getPath source code on BitBucket
- Class JInstaller
- Subpackage Installer
- Other versions of JInstaller::getPath
User contributed notes[edit]
Code Examples[edit]