Actions

API17

JInstallerHelper::detectType

From Joomla! Documentation

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JInstallerHelper::detectType

Description

Method to detect the extension type from a package directory.

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

See also

SeeAlso:JInstallerHelper::detectType [Edit See Also]

User contributed notes

<CodeExamplesForm />