API17

JInstallerHelper::detectType

From Joomla! Documentation

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.

Joomla 11.1 JInstallerHelper::detectType[edit]

Description[edit]

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[edit]


User contributed notes[edit]

Code Examples[edit]