API17

API17:JInstallerHelper::detectType

From Joomla! Documentation

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