API17:JInstallerHelper::detectType
From Joomla! Documentation
JInstallerHelper::detectType
Description
Method to detect the extension type from a package directory.
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
JInstallerHelper::detectType source code on BitBucket
Class JInstallerHelper
Subpackage Installer- Other versions of JInstallerHelper::detectType
User contributed notes
Code Examples