JInstallerHelper
Description
Installer helper class
Located in /joomla/installer/installer.php (line 1198)
JInstallerHelper (Subpackage Installer)
Method Summary
Methods
cleanupInstall (line 1414)
Clean up temporary uploaded package and unpacked extension
boolean
cleanupInstall
( $package, string $resultdir, string $p_file)
- string $p_file: Path to the uploaded package file
- string $resultdir: Path to the unpacked extension
- $package
detectType (line 1345)
Method to detect the extension type from a package directory
mixed
detectType
(string $p_dir)
- string $p_dir: Path to package directory
downloadPackage (line 1209)
Downloads a package
mixed
downloadPackage
(string $url, [string $target = false])
- string $url: URL of file to download
- string $target: Download target filename [optional]
getFilenameFromURL (line 1396)
Gets a file name out of a url
mixed
getFilenameFromURL
(string $url)
- string $url: URL to get name from
splitSql (line 1438)
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
unpack (line 1274)
Unpacks a file and verifies it as a Joomla element package Supports .gz .tar .tar.gz and .zip
boolean
unpack
(string $p_filename)
- string $p_filename: The uploaded package filename or install directory
Documentation generated on Mon, 05 Mar 2007 21:08:42 +0000 by phpDocumentor 1.3.1