API17

API17:JInstallerHelper::detectType

From Joomla! Documentation

Revision as of 03:18, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Joomla 11.1 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 Joomla 11.1
  • Referenced by

See also


User contributed notes

Code Examples