JInstallerHelper
Description
Installer helper class
Located in /joomla/installer/helper.php (line 31)
JInstallerHelper (Subpackage Installer)
Method Summary
Methods
Clean up temporary uploaded package and unpacked extension
boolean
cleanupInstall
(string $package, string $resultdir)
- string $package: Path to the uploaded package file
- string $resultdir: Path to the unpacked extension
Method to detect the extension type from a package directory
mixed
detectType
(string $p_dir)
- string $p_dir: Path to package directory
Downloads a package
mixed
downloadPackage
(string $url, [string $target = false])
- string $url: URL of file to download
- string $target: Download target filename [optional]
Gets a file name out of a url
mixed
getFilenameFromURL
(string $url)
- string $url: URL to get name from
Splits contents of a sql file into array of discreet queries
queries need to be delimited with end of statement marker ';'
array
splitSql
(string $sql)
- string $sql
Unpacks a file and verifies it as a Joomla element package Supports .gz .tar .tar.gz and .zip
Array
unpack
(string $p_filename)
- string $p_filename: The uploaded package filename or install directory




JInstallerHelper (Subpackage Installer)
static