Difference between revisions of "JInstallerHelper::detectType"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (moving preparation) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JInstallerHelper::detectType|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JInstallerHelper::detectType|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function detectType ($p_dir) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 24: | Line 21: | ||
|string | |string | ||
| | | | ||
− | |Path to package directory | + | |Path to package directory |
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' mixed Extension type string or boolean false on fail | |
− | mixed Extension type string or boolean false on fail | + | * '''Defined''' on line 185 of libraries/joomla/installer/helper.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/installer/helper.php | + | * '''Referenced by''' |
− | + | ** [[API17:JInstallerPackage::install|JInstallerPackage::install]] | |
− | * [[JInstallerPackage | ||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JInstallerHelper::detectType source code''' on [[jplatform:installer/helper.php#cl-177|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[API17:JInstallerHelper|JInstallerHelper]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Installer|Installer]] | ||
+ | * [[API17:JInstallerHelper::detectType|Other versions of JInstallerHelper::detectType]] | ||
+ | {{SeeAlso:JInstallerHelper::detectType}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JInstallerHelper::detectType|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JInstallerHelper::detectType|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 48: | Line 46: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 21:01, 11 May 2013
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.
JInstallerHelper::detectType[edit]
Description[edit]
Method to detect the extension type from a package directory.
Template:Description:JInstallerHelper::detectType [Edit Descripton]
public static function detectType ($p_dir)
Parameter | Type | Default | Description |
---|---|---|---|
$p_dir | string | Path to package directory |
- Returns mixed Extension type string or boolean false on fail
- Defined on line 185 of libraries/joomla/installer/helper.php
- Since
- Referenced by
See also[edit]
- JInstallerHelper::detectType source code on BitBucket
- Class JInstallerHelper
- Subpackage Installer
- Other versions of JInstallerHelper::detectType
Template:SeeAlso:JInstallerHelper::detectType [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />